Use new mod syntax in check-fast driver

This commit is contained in:
Brian Anderson 2011-11-24 15:45:40 -08:00
parent 7aee9f7b56
commit 75ce03dd77
1 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ c.write("#[link(name=\"run_pass_stage2\", vers=\"0.1\")];\n")
for t in stage2_tests:
p = os.path.join(run_pass, t)
p = p.replace("\\", "\\\\")
c.write("mod t_%d = \"%s\";\n" % (i, p))
c.write("#[path = \"%s\"]" % p);
c.write("mod t_%d;\n" % i)
i += 1
c.close()