Solo tests should work with loopn

Former-commit-id: 82ba449dd0f8e8c81d7391241a6e75ada1bb314c
This commit is contained in:
John Sully 2020-06-07 15:06:50 -04:00
parent 1780a8918c
commit e9aadd35c4

View File

@ -253,7 +253,7 @@ proc s {args} {
# test server, so that the test server will send them again to # test server, so that the test server will send them again to
# clients once the clients are idle. # clients once the clients are idle.
proc run_solo {name code} { proc run_solo {name code} {
if {$::numclients == 1 || $::loop || $::external || $::endurance} { if {$::numclients == 1 || $::loop < 0 || $::external || $::endurance} {
# run_solo is not supported in these scenarios, just run the code. # run_solo is not supported in these scenarios, just run the code.
if {$::endurance} { if {$::endurance} {
puts "Skipping solo tests because endurance mode is enabled" puts "Skipping solo tests because endurance mode is enabled"