Skip to content

Commit

Permalink
ci: add fopencookie test
Browse files Browse the repository at this point in the history
This adds fopencookie test for simulator CI.

Signed-off-by: Michal Lenc <[email protected]>
  • Loading branch information
michallenc committed Oct 17, 2023
1 parent 6c656f1 commit 7fe9d99
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions boards/sim/sim/sim/configs/citest/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,4 @@ CONFIG_TESTING_GETPRIME=y
CONFIG_TESTING_MM=y
CONFIG_TESTING_OSTEST=y
CONFIG_TESTING_SCANFTEST=y
CONFIG_TESTING_FOPENCOOKIE_TEST=y
7 changes: 7 additions & 0 deletions tools/ci/testrun/script/test_os/test_os.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,13 @@ def test_getprime(p):
assert ret == 0


def test_fopencookie(p):
if p.board in do_not_support:
pytest.skip("unsupported at {}".format(p.board))
ret = p.sendCommand("fopencookie_test", "fopencokie tests were succesfull.")
assert ret == 0


@pytest.mark.run(order=-2)
def test_fs_test(p):
if p.board in do_not_support:
Expand Down

0 comments on commit 7fe9d99

Please sign in to comment.