summaryrefslogtreecommitdiff
path: root/cpp/allTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/allTests.py')
-rwxr-xr-xcpp/allTests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/allTests.py b/cpp/allTests.py
index f230f206c4d..08b48b82386 100755
--- a/cpp/allTests.py
+++ b/cpp/allTests.py
@@ -110,14 +110,14 @@ except getopt.GetoptError:
if(args):
usage()
-loop = False
+loop = 0
for o, a in opts:
if o == "-l":
- loop = True
+ loop = 1
if loop:
num = 1
- while True:
+ while 1:
runTests(tests, num)
num += 1
else: