File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,7 @@ jobs:
125125
126126 # -DLLVM_DISABLE_ASSEMBLY_FILES=ON is for
127127 # https://github.com/llvm/llvm-project/issues/81967
128+ # Disable sharding in lit so that the LIT_XFAIL environment var works.
128129 cmake -G Ninja \
129130 -B build \
130131 -S llvm \
@@ -133,11 +134,12 @@ jobs:
133134 -DCMAKE_BUILD_TYPE=Release \
134135 -DLLDB_INCLUDE_TESTS=OFF \
135136 -DLLVM_ENABLE_ASSERTIONS=ON \
137+ -DLLVM_LIT_ARGS="-vv --time-tests --no-gtest-sharding"\
136138 -DCMAKE_C_COMPILER_LAUNCHER=ccache \
137139 -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
138140
139141 # XFAIL some tests that are failing:
140- export LIT_XFAIL="LLVM-Unit :: Target/SPIRV/./SPIRVTests/SPIRVAPITest/checkTranslateAllExtensions;LLVM-Unit :: Target/SPIRV/./SPIRVTests/SPIRVAPITest/checkTranslateExtensionError;LLVM-Unit :: Target/SPIRV/./SPIRVTests/SPIRVAPITest/checkTranslateUnknownExtensionByOpts;LLVM-Unit :: Target/SPIRV/./SPIRVTests/SPIRVAPITest/checkTranslateWrongExtensionByArg;LLVM-Unit :: Target/SPIRV/./SPIRVTests/SPIRVAPITest/checkTranslateWrongExtensionByOpts "
142+ export LIT_XFAIL="LLVM-Unit :: Target/SPIRV/./SPIRVTests"
141143
142144 # The libcxx tests fail, so we are skipping the runtime targets.
143145 ninja -C build $mac_check_targets
You can’t perform that action at this time.
0 commit comments