File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ func main() {
5050 dockerBuildOutput = flag .Bool ("docker.buildoutput" , false , "Relay only docker build output to stderr." )
5151 simPattern = flag .String ("sim" , "" , "Regular `expression` selecting the simulators to run." )
5252 simTestPattern = flag .String ("sim.limit" , "" , "Regular `expression` selecting tests/suites (interpreted by simulators)." )
53+ simTestExact = flag .Bool ("sim.exact" , true , "Exact `expression` match for tests/suites (interpreted by simulators)." )
5354 simParallelism = flag .Int ("sim.parallelism" , 1 , "Max `number` of parallel clients/containers (interpreted by simulators)." )
5455 simRandomSeed = flag .Int ("sim.randomseed" , 0 , "Randomness seed number (interpreted by simulators)." )
5556 simTestLimit = flag .Int ("sim.testlimit" , 0 , "[DEPRECATED] Max `number` of tests to execute per client (interpreted by simulators)." )
@@ -109,6 +110,10 @@ func main() {
109110 slog .Warn ("--sim is ignored when using --dev mode" )
110111 simList = nil
111112 }
113+ if * simTestExact && * simTestPattern != "" {
114+ pattern := "^" + regexp .QuoteMeta (* simTestPattern ) + "$"
115+ simTestPattern = & pattern
116+ }
112117
113118 // Create the docker backends.
114119 dockerConfig := & libdocker.Config {
You can’t perform that action at this time.
0 commit comments