Skip to content

Commit

Permalink
Merge pull request #8879 from kaspar030/enable_some_on_hardware_tests
Browse files Browse the repository at this point in the history
tests: enable ps_schedstatistics and struct_tm_utility on-hardware CI tests
  • Loading branch information
kaspar030 committed Apr 9, 2018
2 parents 3fea1ea + 1ecaa8d commit 0575dbf
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ps_schedstatistics/Makefile
Expand Up @@ -11,6 +11,8 @@ USEMODULE += ps
USEMODULE += schedstatistics
USEMODULE += printf_float

TEST_ON_CI_WHITELIST += all

include $(RIOTBASE)/Makefile.include

test:
Expand Down
2 changes: 2 additions & 0 deletions tests/ps_schedstatistics/tests/01-run.py
Expand Up @@ -39,6 +39,8 @@ def _check_startup(child):


def _check_help(child):
child.sendline('')
child.expect('>')
child.sendline('help')
child.expect_exact('Command Description')
child.expect_exact('---------------------------------------')
Expand Down
2 changes: 2 additions & 0 deletions tests/struct_tm_utility/Makefile
Expand Up @@ -8,6 +8,8 @@ USEMODULE += timex
# The MSP-430 toolchain lacks sscanf:
BOARD_BLACKLIST := chronos msb-430 msb-430h telosb wsn430-v1_3b wsn430-v1_4 z1

TEST_ON_CI_WHITELIST += all

include $(RIOTBASE)/Makefile.include

test:
Expand Down
6 changes: 6 additions & 0 deletions tests/struct_tm_utility/tests/01-run.py
Expand Up @@ -105,7 +105,13 @@ def _check_day(child):
'but no error should occur.')


def _wait_prompt(child):
child.sendline('')
child.expect('>')


def testfunc(child):
_wait_prompt(child)
_check_help(child)
_check_days_in(child)
_check_leap_year(child)
Expand Down

0 comments on commit 0575dbf

Please sign in to comment.