diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-08-13 22:34:16 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-08-16 10:29:08 -0700 |
| commit | f32079f7c0f7bb2b5b2c90c7564e3ba87d0fc5af (patch) | |
| tree | 107fc3e73cfe5f3ab2f899366acb784a9d0426d9 /src/etc/combine-tests.py | |
| parent | 184eac90ab5e5e1e52d24b6711813bf3b66c1fea (diff) | |
| download | rust-f32079f7c0f7bb2b5b2c90c7564e3ba87d0fc5af.tar.gz rust-f32079f7c0f7bb2b5b2c90c7564e3ba87d0fc5af.zip | |
Convert most main functions to the ivec signature
Converting rustc will still take a snapshot
Diffstat (limited to 'src/etc/combine-tests.py')
| -rwxr-xr-x | src/etc/combine-tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/combine-tests.py b/src/etc/combine-tests.py index db9229b3f68..5ea8459de88 100755 --- a/src/etc/combine-tests.py +++ b/src/etc/combine-tests.py @@ -29,7 +29,7 @@ for t in os.listdir(run_pass): if not ("xfail-stage2" in s or "xfail-fast" in s): stage2_tests.append(t) - if "main(args: vec[str])" in s: + if "main(args: [str])" in s: take_args[t] = True f.close() @@ -60,7 +60,7 @@ for t in stage2_tests: p = p.replace("\\", "\\\\") d.write(" out.write_str(\"run-pass [stage2]: %s\\n\");\n" % p) if t in take_args: - d.write(" t_%d::main([\"arg0\"]);\n" % i) + d.write(" t_%d::main(~[\"arg0\"]);\n" % i) else: d.write(" t_%d::main();\n" % i) i += 1 |
