Closed axel-h closed 3 years ago
The function sched0022_to_fn()
is not itself a test, it's only a helper function inside a test. There are plenty of these helper functions that do return 0
, e.g. in the same file prio_test_func
:
I think return 0
is right here. sel4test_get_result()
will probably not do anything bad, because the return value of sched0022_to_fn()
is ignored anyway in this test, but it's not what is expected at that point.
change.
add missing return statement as fix https://github.com/seL4/sel4test/issues/47 for. @yyshen suggested just to return 0 here, but this seem to contradict what all other test are doing.