diff options
| author | bors <bors@rust-lang.org> | 2020-07-30 20:57:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-07-30 20:57:54 +0000 |
| commit | cfc572cae2d1fc381cce476b5c787fd7221af98c (patch) | |
| tree | 0ad520d222d7c1987eefe87e4345d6d804f7bed1 /src/etc/test-float-parse | |
| parent | 438c59f010016a8a3a11fbcc4c18ae555d7adf94 (diff) | |
| parent | 9eb50260bd06fa005f7f146702565dfdc7c3b4de (diff) | |
| download | rust-cfc572cae2d1fc381cce476b5c787fd7221af98c.tar.gz rust-cfc572cae2d1fc381cce476b5c787fd7221af98c.zip | |
Auto merge of #74957 - Manishearth:rollup-3wudwlg, r=Manishearth
Rollup of 9 pull requests Successful merges: - #74751 (Clean up E0730 explanation) - #74782 (Don't use "weak count" around Weak::from_raw_ptr) - #74835 (Clean up E0734 explanation) - #74871 (Enable docs on dist-x86_64-musl) - #74905 (Avoid bool-like naming) - #74907 (Clean up E0740 explanation) - #74915 (rustc: Ignore fs::canonicalize errors in metadata) - #74934 (Improve diagnostics when constant pattern is too generic) - #74951 (Cherry-pick the release notes for 1.45.1) Failed merges: r? @ghost
Diffstat (limited to 'src/etc/test-float-parse')
| -rw-r--r-- | src/etc/test-float-parse/runtests.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/etc/test-float-parse/runtests.py b/src/etc/test-float-parse/runtests.py index 7106078f897..4d2902e986f 100644 --- a/src/etc/test-float-parse/runtests.py +++ b/src/etc/test-float-parse/runtests.py @@ -195,9 +195,8 @@ def main(): global MAILBOX tests = [os.path.splitext(f)[0] for f in glob('*.rs') if not f.startswith('_')] - listed = sys.argv[1:] - if listed: - tests = [test for test in tests if test in listed] + args = sys.argv[1:] + tests = [test for test in tests if test in args] if not tests: print("Error: No tests to run") sys.exit(1) |
