Skip to content

Commit

Permalink
FW: Do not execute tests that were disabled.
Browse files Browse the repository at this point in the history
Or tests that were specified on the command line (either via -e or a test
list), but that are lower quality than requested.

Fixes #213.

Signed-off-by: Arzhan Kinzhalin <arzhan.i.kinzhalin@intel.com>
  • Loading branch information
busykai committed May 26, 2023
1 parent 076ce4d commit 0e26eed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions framework/sandstone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2592,6 +2592,8 @@ static struct test *get_next_test(int tc)
}

auto next_test = test_selector->get_next_test();
while (next_test && next_test->quality_level < sApp->requested_quality)
next_test = test_selector->get_next_test();

if (next_test == nullptr){
return get_next_test_iteration();
Expand Down

0 comments on commit 0e26eed

Please sign in to comment.