File tree 1 file changed +9
-2
lines changed
1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -149,14 +149,21 @@ jobs:
149
149
cmake -GNinja -B build-e2e -S.\llvm\sycl\test-e2e -DSYCL_TEST_E2E_TARGETS="level_zero:gpu" -DCMAKE_CXX_COMPILER="clang++" -DLEVEL_ZERO_LIBS_DIR="D:\\github\\level-zero_win-sdk\\lib" -DLEVEL_ZERO_INCLUDE="D:\\github\\level-zero_win-sdk\\include" -DLLVM_LIT="..\\llvm\\llvm\\utils\\lit\\lit.py"
150
150
- name : Run End-to-End tests
151
151
if : inputs.tests_selector == 'e2e'
152
- shell : bash
152
+ shell : bash {0}
153
153
run : |
154
154
# Run E2E tests.
155
155
if [[ ${{inputs.compiler}} == 'icx' ]]; then
156
156
export LIT_FILTER_OUT="compile_on_win_with_mdd"
157
157
fi
158
158
export LIT_OPTS="-v --no-progress-bar --show-unsupported --show-pass --show-xfail --max-time 3600 --time-tests ${{ inputs.extra_lit_opts }}"
159
- cmake --build build-e2e --target check-sycl-e2e
159
+ cmake --build build-e2e --target check-sycl-e2e > e2e.log 2>&1
160
+
161
+ exit_code=$?
162
+ cat e2e.log
163
+ if [ $exit_code -ne 0 ]; then
164
+ awk '/^Failed Tests|Unexpectedly Passed Tests|Unresolved tests|Timed Out Tests|Testing Time/{flag=1}/FAILED: CMakeFiles/{flag=0}flag' e2e.log >> $GITHUB_STEP_SUMMARY
165
+ fi
166
+ exit $exit_code
160
167
161
168
- name : Run SYCL CTS Tests
162
169
if : inputs.tests_selector == 'cts'
You can’t perform that action at this time.
0 commit comments