@@ -164,16 +164,17 @@ jobs:
164164 tar -xf e2e_bin.tar.gz -C build-e2e
165165
166166 - name : Configure E2E with Level Zero target
167- if : inputs.tests_selector == 'e2e'
167+ if : ${{ inputs.tests_selector == 'e2e' && inputs.e2e_testing_mode != 'run-only' }}
168168 shell : cmd
169169 run : |
170170 mkdir build-e2e
171171 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"
172172
173- - name : Keep track of files after configuring E2E step
174- if : ${{ always() && inputs.tests_selector == 'e2e' && inputs.e2e_testing_mode == 'build-only' }}
173+ # INFINITE LOOP FOR TESTING, next task fails when on run-only
174+ - name : Infinite loop
175+ if : ${{ inputs.tests_selector == 'e2e' && inputs.e2e_testing_mode == 'run-only' }}
175176 shell : bash
176- run : ls build-e2e > e2econf_files.txt
177+ run : sleep infinity
177178
178179 - name : Run End-to-End tests
179180 if : inputs.tests_selector == 'e2e'
@@ -186,16 +187,6 @@ jobs:
186187 export LIT_OPTS="-v --no-progress-bar --show-unsupported --show-pass --show-xfail --max-time 3600 --time-tests --param test-mode=${{ inputs.e2e_testing_mode }} ${{ inputs.extra_lit_opts }}"
187188 cmake --build build-e2e --target check-sycl-e2e
188189
189- # There are issues with running the tests with the same CMakeCache.txt, or
190- # even rebuilding it on top of an existing one in gen12, so we remove the
191- # configuration files before packing
192- - name : Remove E2E configuration files
193- if : ${{ always() && inputs.tests_selector == 'e2e' && inputs.e2e_testing_mode == 'build-only' }}
194- shell : bash
195- run : |
196- for FILE in $(cat e2econf_files.txt); do rm -r build-e2e/$FILE; done
197- rm e2econf_files.txt
198-
199190 - name : Pack E2E test binaries
200191 if : ${{ always() && inputs.tests_selector == 'e2e' && inputs.e2e_testing_mode == 'build-only' }}
201192 shell : bash
0 commit comments