summaryrefslogtreecommitdiff
path: root/test/GenerateTests.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-11-02 00:45:39 -0500
committerJohn Wiegley <johnw@newartisans.com>2009-11-02 00:48:32 -0500
commit95e08cc46fb499866f2491b4a8aad9fe29ac6a00 (patch)
treeca131c3280cebc30bbdb6bf96aa230096e0793e2 /test/GenerateTests.py
parent307b63be77f932ce7cf9685be261f1c3786ea719 (diff)
downloadfork-ledger-95e08cc46fb499866f2491b4a8aad9fe29ac6a00.tar.gz
fork-ledger-95e08cc46fb499866f2491b4a8aad9fe29ac6a00.tar.bz2
fork-ledger-95e08cc46fb499866f2491b4a8aad9fe29ac6a00.zip
Make the source directory available to all tests
Diffstat (limited to 'test/GenerateTests.py')
-rwxr-xr-xtest/GenerateTests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/GenerateTests.py b/test/GenerateTests.py
index aa36737d..d60e0581 100755
--- a/test/GenerateTests.py
+++ b/test/GenerateTests.py
@@ -104,9 +104,9 @@ def generation_test(seed):
beg_range = 1
end_range = 20
-if len(sys.argv) > 3:
- beg_range = int(sys.argv[2])
- end_range = int(sys.argv[3])
+if len(sys.argv) > 4:
+ beg_range = int(sys.argv[3])
+ end_range = int(sys.argv[4])
for i in range(beg_range, end_range):
if generation_test(i):