Skip to content

Commit

Permalink
Add build variable for TESTSUITE_PASSES (#2244)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienblor authored Feb 19, 2025
1 parent a110a4a commit 50589e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ vars.AddVariables(
StringVariable('JUNIT_TESTSUITE_URL', 'Optional URL for the JUnit report', None),
BoolVariable('REPORT_ONLY_FAILED_TESTS', 'Only failed test will be kept', False),
StringVariable('TIMELIMIT', 'Time limit for each test (in seconds)', '300'),
ListVariable('TESTSUITE_PASSES', 'Test passes to enable', None, ['usd','hydra']),
('TEST_PATTERN', 'Glob pattern of tests to be run', 'test_*'),
('KICK_PARAMS', 'Additional parameters for kick', '-v 6'),
('TESTSUITE_RERUNS_FAILED', 'Numbers of reruns of failed test to detect instability', 1),
Expand Down
6 changes: 4 additions & 2 deletions testsuite/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ while True:

testsuite_source_path = test_env.Dir('.').srcnode().abspath
testsuite_target_path = test_env.Dir('.').abspath
testsuite_passes = ['usd', 'hydra']

if 'TESTSUITE_PASSES' in test_env:
testsuite_passes = test_env['TESTSUITE_PASSES']
else:
testsuite_passes = ['usd', 'hydra']

args_load = dict(
path = testsuite_source_path,
Expand Down

0 comments on commit 50589e8

Please sign in to comment.