File tree 4 files changed +24
-6
lines changed
4 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -127,8 +127,6 @@ test_dmd() {
127
127
# FIXME: disable some failing tests on Alpine:
128
128
# * no TLS variables support with gdb: https://gitlab.alpinelinux.org/alpine/aports/-/issues/11154
129
129
rm compiler/test/runnable/gdb4181.d
130
- # * some failure wrt. exception stack traces
131
- rm compiler/test/runnable/{test19086.d,test17559.d}
132
130
fi
133
131
134
132
$build_path /dmd -g -i -Icompiler/test -release compiler/test/run.d -ofgenerated/run
Original file line number Diff line number Diff line change @@ -427,7 +427,7 @@ HAS_ADDITIONAL_TESTS:=$(shell test -d test && echo 1)
427
427
ifeq ($(HAS_ADDITIONAL_TESTS ) ,1)
428
428
ADDITIONAL_TESTS: =test/init_fini test/exceptions test/coverage test/profile test/cycles test/allocations test/typeinfo \
429
429
test/aa test/cpuid test/gc test/hash test/lifetime test/shared \
430
- test/thread test/unittest test/imports test/betterc test/stdcpp test/config test/traits # test/importc_compare
430
+ test/thread test/unittest test/imports test/betterc test/stdcpp test/config test/traits test/importc_compare
431
431
ifeq (windows,$(OS))
432
432
ADDITIONAL_TESTS+ =test/uuid
433
433
else
Original file line number Diff line number Diff line change
1
+ ifeq ($(OS ) ,linux)
2
+ # Alpine Linux comes with an apk tool
3
+ ifeq (1,$(shell which apk &>/dev/null && echo 1))
4
+ IS_MUSL: =1
5
+ endif
6
+ endif
7
+
1
8
TESTS =stderr_msg unittest_assert invalid_memory_operation static_dtor \
2
9
future_message refcounted rt_trap_exceptions_drt catch_in_finally \
3
10
message_with_null
4
11
12
+ # FIXME: segfaults with musl libc
13
+ ifneq ($(IS_MUSL ) ,1)
14
+ TESTS += unknown_gc
15
+ endif
16
+
5
17
# fails on 32 bit linux
6
18
ifneq ($(OS ) ,linux)
7
19
TESTS += assert_fail
@@ -12,9 +24,9 @@ SED:=sed
12
24
GDB: =gdb
13
25
14
26
ifeq ($(OS ) ,linux)
15
- # TESTS+=line_trace line_trace_21656 long_backtrace_trunc rt_trap_exceptions cpp_demangle
16
- # registerMemoryAssertHandler requires glibc; disable the tests on Alpine (apk tool available)
17
- ifneq (1,$(shell which apk > /dev/null 2>&1 && echo 1) )
27
+ TESTS+ =line_trace line_trace_21656 long_backtrace_trunc rt_trap_exceptions cpp_demangle
28
+ # registerMemoryAssertHandler requires glibc
29
+ ifneq ($(IS_MUSL),1 )
18
30
TESTS+ =memoryerror_null_read memoryerror_null_write memoryerror_null_call memoryerror_stackoverflow
19
31
endif
20
32
line_trace_dflags: =-L--export-dynamic
Original file line number Diff line number Diff line change 1
1
TESTS := importc_compare
2
2
3
+ # FIXME: fails on Alpine v3.21 with conflicting struct declarations in the C headers:
4
+ # /usr/include/asm-generic/fcntl.h(195): Error: struct `importc_includes.flock` conflicts with struct `importc_includes.flock` at /usr/include/fcntl.h(24)
5
+ ifeq ($(OS ) ,linux)
6
+ ifeq (1,$(shell which apk &>/dev/null && echo 1))
7
+ TESTS :=
8
+ endif
9
+ endif
10
+
3
11
include ../common.mak
4
12
5
13
extra_dflags += -d
You can’t perform that action at this time.
0 commit comments