Skip to content

Commit 9eb2b44

Browse files
committed
ci/run.bash: Fix sed expression
Some of our CI platforms couldn't cope with 'sed -E' Signed-off-by: Daniel Silverstone <[email protected]>
1 parent e23a7be commit 9eb2b44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ci/run.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ if [ -z "$SKIP_TESTS" ]; then
3232

3333
runtest --test dist -- --test-threads 1
3434

35-
find ./tests -maxdepth 1 -type f ! -path '*/dist.rs' -name '*.rs' \
36-
| sed -E 's@\./tests/(.+)\.rs@\1@g' \
35+
find tests -maxdepth 1 -type f ! -path '*/dist.rs' -name '*.rs' \
36+
| sed -e 's@^tests/@@;s@\.rs$@@g' \
3737
| while read -r test; do
3838
runtest --test "${test}"
3939
done

0 commit comments

Comments
 (0)