File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ func main() {
26
26
dockerOutput = flag .Bool ("docker.output" , false , "Relay all docker output to stderr." )
27
27
simPattern = flag .String ("sim" , "" , "Regular `expression` selecting the simulators to run." )
28
28
simTestPattern = flag .String ("sim.limit" , "" , "Regular `expression` selecting tests/suites (interpreted by simulators)." )
29
+ simTestExact = flag .Bool ("sim.exactmatch" , true , "Exact `expression` match for tests/suites (interpreted by simulators)." )
29
30
simParallelism = flag .Int ("sim.parallelism" , 1 , "Max `number` of parallel clients/containers (interpreted by simulators)." )
30
31
simRandomSeed = flag .Int ("sim.randomseed" , 0 , "Randomness seed number (interpreted by simulators)." )
31
32
simTestLimit = flag .Int ("sim.testlimit" , 0 , "[DEPRECATED] Max `number` of tests to execute per client (interpreted by simulators)." )
@@ -73,6 +74,10 @@ func main() {
73
74
log15 .Warn ("--sim is ignored when using --dev mode" )
74
75
simList = nil
75
76
}
77
+ if * simTestExact && * simTestPattern != "" {
78
+ pattern := regexp .QuoteMeta (* simTestPattern ) + "$"
79
+ simTestPattern = & pattern
80
+ }
76
81
77
82
// Create the docker backends.
78
83
dockerConfig := & libdocker.Config {
You can’t perform that action at this time.
0 commit comments