We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c3757 commit 0374006Copy full SHA for 0374006
src/etc/test-float-parse/runtests.py
@@ -195,9 +195,8 @@ def main():
195
global MAILBOX
196
tests = [os.path.splitext(f)[0] for f in glob('*.rs')
197
if not f.startswith('_')]
198
- listed = sys.argv[1:]
199
- if listed:
200
- tests = [test for test in tests if test in listed]
+ args = sys.argv[1:]
+ tests = [test for test in tests if test in args]
201
if not tests:
202
print("Error: No tests to run")
203
sys.exit(1)
0 commit comments