Skip to content

Commit ad66442

Browse files
[CI] Don't upload SYCL End-to-End tests results' json (#8822)
Nobody uses it anyway. Should fix pre-commit issue looking like ``` Traceback (most recent call last): File "/__w/llvm/llvm/llvm/llvm/utils/lit/lit.py", line 6, in <module> main() File "/__w/llvm/llvm/llvm/llvm/utils/lit/lit/main.py", line 121, in main report.write_results(tests_for_report, elapsed) File "/__w/llvm/llvm/llvm/llvm/utils/lit/lit/reports.py", line 68, in write_results with open(self.output_file, 'w') as file: FileNotFoundError: [Errno 2] No such file or directory: '/__w/llvm/llvm/build/results_hip_amdgpu_default.json' ```
1 parent 8996a8b commit ad66442

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

.github/workflows/sycl_linux_build_and_test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ jobs:
228228
sycl_artifact: sycl_linux_${{ inputs.build_artifact_suffix }}
229229
sycl_archive: llvm_sycl.tar.xz
230230
check_sycl_all: ${{ matrix.check_sycl_all }}
231-
results_name_suffix: ${{ matrix.config }}_${{ inputs.build_artifact_suffix }}
232231
cmake_args: '${{ matrix.cmake_args }} ${{ inputs.lts_cmake_extra_args }}'
233232

234233
khronos_sycl_cts:

devops/actions/llvm_test_suite/action.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ inputs:
1212
description: 'Name of SYCL toolchain archive file'
1313
required: false
1414
default: 'llvm_sycl.tar.xz'
15-
results_name_suffix:
16-
description: 'Name suffix of the results artifact'
17-
required: true
1815
check_sycl_all:
1916
description: 'List of SYCL backends with set of target devices per each to be tested iteratively'
2017
required: true
@@ -54,7 +51,7 @@ runs:
5451
export PATH=$PWD/toolchain/bin/:$PATH
5552
# TODO make this part of container build
5653
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/hip/lib/:/opt/rocm/lib
57-
export LIT_OPTS="-v --no-progress-bar --show-unsupported --max-time 3600 --time-tests -o $PWD/build/results_${{ inputs.results_name_suffix }}.json"
54+
export LIT_OPTS="-v --no-progress-bar --show-unsupported --max-time 3600 --time-tests"
5855
if [ -e /runtimes/oneapi-tbb/env/vars.sh ]; then
5956
source /runtimes/oneapi-tbb/env/vars.sh;
6057
elif [ -e /opt/runtimes/oneapi-tbb/env/vars.sh ]; then
@@ -76,12 +73,6 @@ runs:
7673
SYCL_PI_TRACE=-1 sycl-ls
7774
echo "::endgroup::"
7875
ninja -C build-e2e check-sycl-e2e
79-
- name: Upload test results
80-
uses: actions/upload-artifact@v1
81-
if: always()
82-
with:
83-
name: lit_results
84-
path: build/results_${{ inputs.results_name_suffix }}.json
8576
- name: Cleanup
8677
shell: bash
8778
if: always()

0 commit comments

Comments
 (0)