mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
ci: add stdbit.h test
Test stdbit functions in CI. Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
parent
5d443efd17
commit
93975f0817
3 changed files with 10 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ CONFIG_LIBC_MEMFD_ERROR=y
|
||||||
CONFIG_LIBC_NETDB=y
|
CONFIG_LIBC_NETDB=y
|
||||||
CONFIG_LIBC_NUMBERED_ARGS=y
|
CONFIG_LIBC_NUMBERED_ARGS=y
|
||||||
CONFIG_LIBC_SCANSET=y
|
CONFIG_LIBC_SCANSET=y
|
||||||
|
CONFIG_LIBC_STDBIT_GENERIC=y
|
||||||
CONFIG_LIBM=y
|
CONFIG_LIBM=y
|
||||||
CONFIG_LIBUV=y
|
CONFIG_LIBUV=y
|
||||||
CONFIG_LIBUV_THREADPOOL_SIZE=4
|
CONFIG_LIBUV_THREADPOOL_SIZE=4
|
||||||
|
|
@ -149,6 +150,7 @@ CONFIG_TESTING_OPEN_MEMSTREAM=y
|
||||||
CONFIG_TESTING_OSTEST=y
|
CONFIG_TESTING_OSTEST=y
|
||||||
CONFIG_TESTING_SCANFTEST=y
|
CONFIG_TESTING_SCANFTEST=y
|
||||||
CONFIG_TESTING_SCANFTEST_FNAME="/tmp/test.txt"
|
CONFIG_TESTING_SCANFTEST_FNAME="/tmp/test.txt"
|
||||||
|
CONFIG_TESTING_STDBIT_TEST=y
|
||||||
CONFIG_TESTS_TESTSUITES=y
|
CONFIG_TESTS_TESTSUITES=y
|
||||||
CONFIG_TLS_NCLEANUP=4
|
CONFIG_TLS_NCLEANUP=4
|
||||||
CONFIG_TLS_NELEM=16
|
CONFIG_TLS_NELEM=16
|
||||||
|
|
|
||||||
1
include/.gitignore
vendored
1
include/.gitignore
vendored
|
|
@ -15,3 +15,4 @@
|
||||||
/etl
|
/etl
|
||||||
/minmea
|
/minmea
|
||||||
/sysinfo.h
|
/sysinfo.h
|
||||||
|
/stdbit.h
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,13 @@ def test_stdio(p):
|
||||||
assert ret == 0
|
assert ret == 0
|
||||||
|
|
||||||
|
|
||||||
|
def test_stdbit(p):
|
||||||
|
if p.board in do_not_support:
|
||||||
|
pytest.skip("unsupported at {}".format(p.board))
|
||||||
|
ret = p.sendCommand("stdbit_test", "stdbit tests: SUCCESSFUL: 14; FAILED: 0")
|
||||||
|
assert ret == 0
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.run(order=-2)
|
@pytest.mark.run(order=-2)
|
||||||
def test_fs_test(p):
|
def test_fs_test(p):
|
||||||
if p.board in do_not_support:
|
if p.board in do_not_support:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue