sanitycheck: adapt testsuite for build_only cleanup
Change tests to sync with changes in the library. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
4ca0b95956
commit
9603fe40bd
1 changed files with 4 additions and 5 deletions
|
@ -43,14 +43,13 @@ def test_check_build_or_run(class_testsuite, monkeypatch, all_testcases_dict, pl
|
|||
testcase.slow = slow
|
||||
|
||||
testinstance = TestInstance(testcase, platform, class_testsuite.outdir)
|
||||
testinstance.check_build_or_run(build_only, slow, device_testing, fixture)
|
||||
run = testinstance.check_build_or_run(build_only, slow, device_testing, fixture)
|
||||
b, r = expected
|
||||
assert testinstance.build_only == b
|
||||
assert testinstance.run == r
|
||||
assert run == r
|
||||
|
||||
monkeypatch.setattr("os.name", "nt")
|
||||
testinstance.check_build_or_run()
|
||||
assert testinstance.build_only and not testinstance.run
|
||||
run = testinstance.check_build_or_run()
|
||||
assert not run
|
||||
|
||||
TESTDATA_2 = [
|
||||
(True, True, True, ["demo_board_2"], "native", '\nCONFIG_COVERAGE=y\nCONFIG_COVERAGE_DUMP=y\nCONFIG_ASAN=y\nCONFIG_UBSAN=y'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue