We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19516d0 commit d166a75Copy full SHA for d166a75
.github/workflows/sycl-windows-run-tests.yml
@@ -86,6 +86,17 @@ jobs:
86
# Run E2E tests.
87
export LIT_OPTS="-v --no-progress-bar --show-unsupported --show-pass --show-xfail --max-time 3600 --time-tests ${{ inputs.extra_lit_opts }}"
88
cmake --build build-e2e --target check-sycl-e2e
89
+ - name: Detect hung tests
90
+ shell: powershell
91
+ run: |
92
+ $exitCode = 0
93
+ $hungTests = Get-Process | Where-Object { ($_.Path -match "llvm\\install") -or ($_.Path -match "llvm\\build-e2e") }
94
+ $hungTests | Foreach-Object {
95
+ $exitCode = 1
96
+ echo "Test $($_.Path) hung!"
97
+ Stop-Process -Force $_
98
+ }
99
+ exit $exitCode
100
- name: Cleanup
101
shell: cmd
102
if: always()
0 commit comments