Skip to content

Commit 1a11294

Browse files
committed
prune
1 parent f08e73d commit 1a11294

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/run_standalone_tests.sh

+5
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ sed -i '$d' $COLLECTED_TESTS_FILE
5252

5353
# Get test list and run each test individually
5454
tests=($(grep -oP '\S+::test_\S+' "$COLLECTED_TESTS_FILE"))
55+
# remove everything before "$test_dir/" in each array element
56+
for i in "${!tests[@]}"; do
57+
tests[$i]=${tests[$i]#*${test_dir}/}
58+
done
59+
5560
test_count=${#tests[@]}
5661
# present the collected tests
5762
printf "collected $test_count tests:\n-------------------\n"

0 commit comments

Comments
 (0)