1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Needs $ in make command line to be escaped

This commit is contained in:
Nobuyoshi Nakada 2021-11-09 15:42:31 +09:00
parent 5680c38c75
commit 5a3b2e6141
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -88,11 +88,11 @@ jobs:
- name: make ${{ matrix.test_task }}
run: |
if [ ${{ matrix.test_task }} = 'check' ]; then
TESTS=`echo "${{ matrix.skipped_tests }}" | sed 's| |$/ -n!/|g;s|^|-n!/|;s|$|$/|'`
TESTS=`echo "${{ matrix.skipped_tests }}" | sed 's| |$/ -n!/|g;s|^|-n!/|;s|$|$$/|'`
fi
$SETARCH make -s ${{ matrix.test_task }} ${TESTS:+TESTS="$TESTS"}
if [ ${{ matrix.test_task }} = 'check' -a "${TESTS:+set}" ]; then
TESTS=`echo "${{ matrix.skipped_tests }}" | sed 's| |$/ -n/|g;s|^|-n/|;s|$|$/|'`
TESTS=`echo "${{ matrix.skipped_tests }}" | sed 's| |$/ -n/|g;s|^|-n/|;s|$|$$/|'`
unset GNUMAKEFLAGS
$SETARCH make -s test-all TESTS="$TESTS"
fi