Skip to content
Snippets Groups Projects
Commit 00cdec23 authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

run-tests: cleanup the "output" directory after the related tests

The output confused the test discovery when left around. And it confuse the
Linux and the Windows one a bit differently, so we better clean it up as it
serve not purpose to keep it around.
parent 7a149cf4
No related branches found
No related tags found
2 merge requests!1083Merge stable into default,!1068preparation for Windows Wheel building
......@@ -1762,6 +1762,7 @@
# Ran 2 tests, 0 skipped, 1 failed.
python hash seed: * (glob)
[1]
$ rm output/*
Test TESTCASE variable
......@@ -2108,11 +2109,11 @@
run-tests.py: error: --shard-index must be <= than --shard-total (10 not in [1,5])
[2]
$ rt --list-tests --shard-index 1 --shard-total 5
test-cases-abc.t
test-cases-advanced-cases.t#case-with-dashes
test-conditional-matching.t#foo
test-cases-abc.t#A
test-cases-advanced-cases.t#casewith_-.chars
test-config-opt.t
$ rt --shard-index 6 --shard-total 5
usage: run-tests.py [options] [tests]
run-tests.py: error: --shard-index must be <= than --shard-total (6 not in [1,5])
[2]
$ rt --list-tests --shard-index 5 --shard-total 5
......@@ -2114,8 +2115,7 @@
$ rt --shard-index 6 --shard-total 5
usage: run-tests.py [options] [tests]
run-tests.py: error: --shard-index must be <= than --shard-total (6 not in [1,5])
[2]
$ rt --list-tests --shard-index 5 --shard-total 5
test-conditional-matching.t#bar
test-py.py
test-substitution.t
test-cases-advanced-cases.t#case-with-dashes
test-conditional-matching.t#foo
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment