Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/tests/TestScripts/testBazelSharding.py
diff options
context:
space:
mode:
authorMartin Hořeňovský2025-04-29 17:00:09 +0200
committerMartin Hořeňovský2025-07-15 12:10:40 +0200
commita483b6d7d36457b0931eca85fda1a30a2b56eb4e (patch)
tree914bbf2d2b45915f779ddb540b2ae9fb0a3a2a71 /tests/TestScripts/testBazelSharding.py
parentb9c018b38a98f7f9d15e4f6b9e60ec90cd393b7b (diff)
downloadcatch3-a483b6d7d36457b0931eca85fda1a30a2b56eb4e.tar.gz
Default to randomized test case order
Diffstat (limited to 'tests/TestScripts/testBazelSharding.py')
-rwxr-xr-xtests/TestScripts/testBazelSharding.py7
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,