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.
2 parents ab4570e + a475722 commit ad8230fCopy full SHA for ad8230f
src/etc/test-float-parse/runtests.py
@@ -193,10 +193,12 @@ def interact(proc, queue):
193
194
def main():
195
global MAILBOX
196
- tests = [os.path.splitext(f)[0] for f in glob('*.rs')
197
- if not f.startswith('_')]
+ all_tests = [os.path.splitext(f)[0] for f in glob('*.rs') if not f.startswith('_')]
198
args = sys.argv[1:]
199
- tests = [test for test in tests if test in args]
+ if args:
+ tests = [test for test in all_tests if test in args]
200
+ else
201
+ tests = all_tests
202
if not tests:
203
print("Error: No tests to run")
204
sys.exit(1)
0 commit comments