Skip to content

Commit 88c49eb

Browse files
committed
Read the jtreg filters into a bash array.
1 parent 46ff1c0 commit 88c49eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/workflows/jtreg.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ jobs:
6969
git clone -q --filter=blob:none --sparse --depth 1 --branch "jdk-${release%+*}-ga" https://github.com/openjdk/jdk25u.git build/ref/jdk25u
7070
dirs=$(grep -v '^#' test/jtreg/passing.txt | cut -d/ -f1-2 | sort -u | sed 's|^|test/jdk/|')
7171
git -C build/ref/jdk25u sparse-checkout set test/lib test/jdk/lib test/jdk/tools/lib $dirs
72-
set -f
72+
read -ra filters <<< "$FILTERS"
7373
node scripts/jtreg/run.ts build/ref/jdk25u --only-passing --jobs 4 --timeout 600 \
74-
--shard ${{ matrix.shard }}/${{ strategy.job-total }} $FILTERS
74+
--shard ${{ matrix.shard }}/${{ strategy.job-total }} "${filters[@]}"

0 commit comments

Comments
 (0)