diff options
| author | Martin Hořeňovský | 2025-04-29 17:00:09 +0200 |
|---|---|---|
| committer | Martin Hořeňovský | 2025-07-15 12:10:40 +0200 |
| commit | a483b6d7d36457b0931eca85fda1a30a2b56eb4e (patch) | |
| tree | 914bbf2d2b45915f779ddb540b2ae9fb0a3a2a71 /tests | |
| parent | b9c018b38a98f7f9d15e4f6b9e60ec90cd393b7b (diff) | |
| download | catch3-a483b6d7d36457b0931eca85fda1a30a2b56eb4e.tar.gz | |
Default to randomized test case order
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/TestScripts/testBazelSharding.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/TestScripts/testBazelSharding.py b/tests/TestScripts/testBazelSharding.py index d4a9aeee..23594461 100755 --- a/tests/TestScripts/testBazelSharding.py +++ b/tests/TestScripts/testBazelSharding.py @@ -46,10 +46,15 @@ env["TEST_SHARD_INDEX"] = "0" env["TEST_TOTAL_SHARDS"] = "2" env["TEST_SHARD_STATUS_FILE"] = info_file_path +cmd = [ + bin_path, + # We rely on the test order being deterministic + '--order', 'decl' +] try: ret = subprocess.run( - bin_path, + cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True, |