Show More
@@ -832,8 +832,6 b' def runone(options, test):' | |||||
832 |
|
832 | |||
833 | global results, resultslock, iolock |
|
833 | global results, resultslock, iolock | |
834 |
|
834 | |||
835 | testpath = os.path.join(TESTDIR, test) |
|
|||
836 |
|
||||
837 | def result(l, e): |
|
835 | def result(l, e): | |
838 | resultslock.acquire() |
|
836 | resultslock.acquire() | |
839 | results[l].append(e) |
|
837 | results[l].append(e) | |
@@ -879,6 +877,10 b' def runone(options, test):' | |||||
879 | return 'killed by signal %d' % -ret |
|
877 | return 'killed by signal %d' % -ret | |
880 | return 'returned error code %d' % ret |
|
878 | return 'returned error code %d' % ret | |
881 |
|
879 | |||
|
880 | testpath = os.path.join(TESTDIR, test) | |||
|
881 | err = os.path.join(TESTDIR, test + ".err") | |||
|
882 | lctest = test.lower() | |||
|
883 | ||||
882 | if not os.path.exists(test): |
|
884 | if not os.path.exists(test): | |
883 | skip("doesn't exist") |
|
885 | skip("doesn't exist") | |
884 | return None |
|
886 | return None | |
@@ -907,10 +909,8 b' def runone(options, test):' | |||||
907 |
|
909 | |||
908 | createhgrc(HGRCPATH, options) |
|
910 | createhgrc(HGRCPATH, options) | |
909 |
|
911 | |||
910 | err = os.path.join(TESTDIR, test+".err") |
|
|||
911 | if os.path.exists(err): |
|
912 | if os.path.exists(err): | |
912 | os.remove(err) # Remove any previous output files |
|
913 | os.remove(err) # Remove any previous output files | |
913 | lctest = test.lower() |
|
|||
914 |
|
914 | |||
915 | for ext, func, out in testtypes: |
|
915 | for ext, func, out in testtypes: | |
916 | if lctest.startswith("test-") and lctest.endswith(ext): |
|
916 | if lctest.startswith("test-") and lctest.endswith(ext): |
General Comments 0
You need to be logged in to leave comments.
Login now