diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-25 00:43:37 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-25 00:43:37 -0700 |
| commit | 30862a64c29985b044d9bf6f74fcf1394bc145c7 (patch) | |
| tree | 712da0df6bd5e3661431ec069fa814d048dc703a /src/etc/combine-tests.py | |
| parent | 10a583ce1ac28a8cbf34b0f4274285f33bdfce29 (diff) | |
| download | rust-30862a64c29985b044d9bf6f74fcf1394bc145c7.tar.gz rust-30862a64c29985b044d9bf6f74fcf1394bc145c7.zip | |
Fix run-pass tests to have 'pub fn main'
This is required by the check-fast target because each test is slurped up into a submodule.
Diffstat (limited to 'src/etc/combine-tests.py')
| -rwxr-xr-x | src/etc/combine-tests.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/etc/combine-tests.py b/src/etc/combine-tests.py index 36031d31149..692aa6871e6 100755 --- a/src/etc/combine-tests.py +++ b/src/etc/combine-tests.py @@ -29,6 +29,8 @@ for t in os.listdir(run_pass): if not ("xfail-test" in s or "xfail-fast" in s or "xfail-win32" in s): + if not "pub fn main" in s and "fn main" in s: + print("Warning: no public entry point in " + t) stage2_tests.append(t) f.close() |
