Show More
@@ -905,13 +905,6 b' def runone(options, test):' | |||
|
905 | 905 | ignore("doesn't match keyword") |
|
906 | 906 | return None |
|
907 | 907 | |
|
908 | vlog("# Test", test) | |
|
909 | ||
|
910 | createhgrc(HGRCPATH, options) | |
|
911 | ||
|
912 | if os.path.exists(err): | |
|
913 | os.remove(err) # Remove any previous output files | |
|
914 | ||
|
915 | 908 | for ext, func, out in testtypes: |
|
916 | 909 | if lctest.startswith("test-") and lctest.endswith(ext): |
|
917 | 910 | runner = func |
@@ -920,6 +913,13 b' def runone(options, test):' | |||
|
920 | 913 | else: |
|
921 | 914 | return skip("unknown test type") |
|
922 | 915 | |
|
916 | vlog("# Test", test) | |
|
917 | ||
|
918 | createhgrc(HGRCPATH, options) | |
|
919 | ||
|
920 | if os.path.exists(err): | |
|
921 | os.remove(err) # Remove any previous output files | |
|
922 | ||
|
923 | 923 | # Make a tmp subdirectory to work in |
|
924 | 924 | testtmp = os.environ["TESTTMP"] = os.environ["HOME"] = \ |
|
925 | 925 | os.path.join(HGTMP, os.path.basename(test)) |
General Comments 0
You need to be logged in to leave comments.
Login now