File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
devops/actions/run-tests/e2e Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -149,14 +149,22 @@ jobs:
149149 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"
150150 - name : Run End-to-End tests
151151 if : inputs.tests_selector == 'e2e'
152- shell : bash
152+ shell : bash {0}
153153 run : |
154154 # Run E2E tests.
155155 if [[ ${{inputs.compiler}} == 'icx' ]]; then
156156 export LIT_FILTER_OUT="compile_on_win_with_mdd"
157157 fi
158158 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+ # This is duplicated between lin/win, updates must change both.
165+ 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
166+ fi
167+ exit $exit_code
160168
161169 - name : Run SYCL CTS Tests
162170 if : inputs.tests_selector == 'cts'
Original file line number Diff line number Diff line change 6565 exit_code=$?
6666 cat e2e.log
6767 if [ $exit_code -ne 0 ]; then
68+ # This is duplicated between lin/win, updates must change both.
6869 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
6970 fi
7071 exit $exit_code
You can’t perform that action at this time.
0 commit comments