File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ namespace Catch {
76
76
WarnAbout::What warnings = WarnAbout::Nothing;
77
77
ShowDurations showDurations = ShowDurations::DefaultForReporter;
78
78
double minDuration = -1 ;
79
- TestRunOrder runOrder = TestRunOrder::Declared ;
79
+ TestRunOrder runOrder = TestRunOrder::Randomized ;
80
80
ColourMode defaultColourMode = ColourMode::PlatformDefault;
81
81
WaitForKeypress::When waitForKeypress = WaitForKeypress::Never;
82
82
Original file line number Diff line number Diff line change 46
46
env ["TEST_TOTAL_SHARDS" ] = "2"
47
47
env ["TEST_SHARD_STATUS_FILE" ] = info_file_path
48
48
49
+ cmd = [
50
+ bin_path ,
51
+ # We rely on the test order being deterministic
52
+ '--order' , 'decl'
53
+ ]
49
54
50
55
try :
51
56
ret = subprocess .run (
52
- bin_path ,
57
+ cmd ,
53
58
stdout = subprocess .PIPE ,
54
59
stderr = subprocess .PIPE ,
55
60
check = True ,
You can’t perform that action at this time.
0 commit comments