diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2011-06-29 17:54:05 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2011-06-29 17:54:05 -0700 |
| commit | afabde19dcdae41fa60df37b4aa049f4dfe6ee5f (patch) | |
| tree | 697a3f3c288192330b8367bb103043a2731085d8 /src/etc | |
| parent | a82aeb7af6be8968c7575635283790a73b874118 (diff) | |
More fixes to fast-check.
Diffstat (limited to 'src/etc')
| -rwxr-xr-x | src/etc/combine-tests.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/etc/combine-tests.py b/src/etc/combine-tests.py index 8abbed8dd6e..d1ee5048ddd 100755 --- a/src/etc/combine-tests.py +++ b/src/etc/combine-tests.py @@ -17,6 +17,7 @@ if not src_dir: raise Exception("missing env var CFG_SRC_DIR") run_pass = os.path.join(src_dir, "src", "test", "run-pass") +run_pass = os.path.abspath(run_pass) stage2_tests = [] take_args = {} @@ -32,17 +33,13 @@ for t in os.listdir(run_pass): stage2_tests.sort() -# add a .. prefix because we're about to write down into test/.. -parent_run_pass = os.path.join("..", run_pass); - - c = open("test/run_pass_stage2.rc", "w") i = 0 c.write("// AUTO-GENERATED FILE: DO NOT EDIT\n") c.write("#[link(name=\"run_pass_stage2\", vers=\"0.1\")];\n") for t in stage2_tests: c.write("mod t_%d = \"%s\";\n" - % (i, os.path.join(parent_run_pass, t))) + % (i, os.path.join(run_pass, t))) i += 1 c.close() |
