File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,16 @@ jobs:
143
143
echo "value=$PATH" >> $GITHUB_OUTPUT
144
144
fi
145
145
146
+ - name : ' Set JTReg Options'
147
+ id : jtreg-options
148
+ run : |
149
+ if [[ '${{ runner.os }}' == 'Windows' ]]; then
150
+ # JTReg option for 'ProgramFiles(x86)' environment variable
151
+ echo 'value=-e:ProgramFiles\(x86\)=C:\\Program\ Files\ \(x86\)' >> $GITHUB_OUTPUT
152
+ else
153
+ echo 'value=' >> $GITHUB_OUTPUT
154
+ fi
155
+
146
156
- name : ' Run tests'
147
157
id : run-tests
148
158
run : >
@@ -153,7 +163,7 @@ jobs:
153
163
JDK_IMAGE_DIR=${{ steps.bundles.outputs.jdk-path }}
154
164
SYMBOLS_IMAGE_DIR=${{ steps.bundles.outputs.symbols-path }}
155
165
TEST_IMAGE_DIR=${{ steps.bundles.outputs.tests-path }}
156
- JTREG='JAVA_OPTIONS=-XX:-CreateCoredumpOnCrash;VERBOSE=fail,error,time;KEYWORDS=!headful'
166
+ JTREG='OPTIONS=${{ steps.jtreg-options.outputs.value }}; JAVA_OPTIONS=-XX:-CreateCoredumpOnCrash;VERBOSE=fail,error,time;KEYWORDS=!headful'
157
167
&& bash ./.github/scripts/gen-test-summary.sh "$GITHUB_STEP_SUMMARY" "$GITHUB_OUTPUT"
158
168
env :
159
169
PATH : ${{ steps.path.outputs.value }}
You can’t perform that action at this time.
0 commit comments