Skip to content

Commit 40ad5f7

Browse files
authored
Merge pull request #4644 from kinke/cirrus_hacks
Cirrus CI & GHA: Revise test exclusion FIXMEs
2 parents 5406dd3 + 6828c18 commit 40ad5f7

File tree

4 files changed

+8
-18
lines changed

4 files changed

+8
-18
lines changed

.cirrus.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ common_steps_template: &COMMON_STEPS_TEMPLATE
3939
# FIXME: the following tests fail
4040
rm $CIRRUS_WORKING_DIR/tests/debuginfo/nested_gdb.d
4141
rm $CIRRUS_WORKING_DIR/tests/sanitizers/fuzz_basic.d
42-
# the following 2 have regressed with LLVM 13
43-
rm $CIRRUS_WORKING_DIR/tests/sanitizers/msan_{noerror,uninitialized}.d
4442
fi
4543
python3 runlit.py -v -j $PARALLELISM .
4644
run_dmd_testsuite_script: |
@@ -50,17 +48,14 @@ common_steps_template: &COMMON_STEPS_TEMPLATE
5048
# Run defaultlib unittests & druntime integration tests
5149
cd $CIRRUS_WORKING_DIR/../build
5250
excludes="dmd-testsuite|ldc2-unittest|lit-tests"
53-
if [[ "$CI_OS" == "freebsd" ]]; then
54-
# FIXME: unittest failure for unclear reason
55-
excludes+='|^std.experimental.allocator-shared$'
56-
elif [[ "$CI_OS-$CI_ARCH" == "linux-aarch64" ]]; then
51+
if [[ "$CI_OS-$CI_ARCH" == "linux-aarch64" ]]; then
5752
# FIXME: segfaults with enabled optimizations
5853
excludes+='|^core.thread.fiber(-shared)?$'
5954
# FIXME: failing unittest(s)
6055
excludes+='|^std.internal.math.gammafunction'
6156
# FIXME: failing unittest(s) with enabled optimizations
6257
excludes+='|^std.math.exponential(-shared)?$'
63-
# FIXME: failure
58+
# FIXME: subtest rt_trap_exceptions fails
6459
excludes+='|^druntime-test-exceptions-debug$'
6560
# std.path unittests apparently need HOME, which happens not to be set
6661
export HOME=~

.github/actions/4b-test-lit/action.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,10 @@ runs:
1717
shell: cmd
1818
run: |
1919
echo on
20-
:: * strings_cdb has regressed for 32-bit starting with the VS 2019 v16.6.0 Azure Image (worked fine until v16.5.4)
21-
:: it also works fine on my box with the same v16.7.2...
22-
:: * msvc_dwarf spuriously hits LLD assertions with v13.* and v14.0.0
20+
:: FIXME: strings_cdb has regressed for 32-bit starting with the VS 2019 v16.6.0 Azure Image (worked fine until v16.5.4)
21+
:: it also works fine on my box with the same v16.7.2...
2322
if "${{ inputs.arch }}" == "x86" (
2423
del tests\debuginfo\strings_cdb.d || exit /b
25-
del tests\debuginfo\msvc_dwarf.d || exit /b
26-
)
27-
:: FIXME: all ASan tests on Win64 regressed with the VS 2022 v17.9 image (worked fine until v17.8)
28-
:: (probably https://github.com/llvm/llvm-project/issues/82450)
29-
if "${{ inputs.arch }}" == "x64" (
30-
del tests\sanitizers\*asan* || exit /b
3124
)
3225
call "%LDC_VSDIR%\Common7\Tools\VsDevCmd.bat" -arch=${{ inputs.arch }} || exit /b
3326
echo on

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
bootstrap_cmake_flags: -DBUILD_LTO_LIBS=ON
6868
extra_cmake_flags: >-
6969
-DBUILD_LTO_LIBS=ON
70-
# Undefined symbol errors with FullLTO; ThinLTO used to work, but apparently miscompiles a lexer.d:130 assertion since v1.33.
70+
# Undefined symbol errors with FullLTO; ThinLTO used to work, but apparently miscompiles a lexer.d:138 assertion since v1.33.
7171
# "-DD_COMPILER_FLAGS=-O -flto=thin -defaultlib=phobos2-ldc-lto,druntime-ldc-lto"
7272
# -DEXTRA_CXXFLAGS=-flto=thin
7373
with_pgo: true

.github/workflows/supported_llvm_versions.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,11 @@ jobs:
179179
excludes='dmd-testsuite|lit-tests|ldc2-unittest'
180180
if [[ '${{ runner.os }}' == macOS ]]; then
181181
N=$(sysctl -n hw.logicalcpu)
182-
# FIXME: fails with enabled optimizations on M1 runners
183182
if [[ '${{ matrix.os }}' == macos-14 ]]; then
183+
# FIXME: crashes frequently with enabled optimizations on M1 runners
184184
excludes+='|^std.internal.math.gammafunction(-shared)?$'
185+
# FIXME: sporadically segfaults with enabled optimizations
186+
excludes+='|^core.thread.fiber(-shared)?$'
185187
fi
186188
else
187189
N=$(nproc)

0 commit comments

Comments
 (0)