File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed
runtime/druntime/test/exceptions Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -3,19 +3,16 @@ ifdef IN_LDC
3
3
include ../../../../dmd/osmodel.mak
4
4
endif
5
5
6
- $(info $(shell which apk ; echo $$?))
7
- $(info $(shell which apk && echo 1 ; echo $$?))
8
- $(info $(shell command -v apk ; echo $$?))
9
- $(info $(shell command -v apk && echo 1 ; echo $$?))
6
+ $(info $(shell which apk &>/dev/null; echo $$?))
7
+ $(info $(shell which apk &>/dev/null && echo 1 ; echo $$?))
8
+ $(info $(shell command -v apk &>/dev/null ; echo $$?))
9
+ $(info $(shell command -v apk &>/dev/null && echo 1 ; echo $$?))
10
+
10
11
11
12
ifeq ($(OS ) ,linux)
12
13
# FIXME: detect musl libc robustly; just checking Alpine Linux' apk tool for now
13
- ifeq (1,$(shell command -v apk &>/dev/null && echo 1))
14
- $(warning ~~~ musl detected)
15
- IS_MUSL: =1
16
- else
17
- $(warning ~~~ musl NOT detected)
18
- endif
14
+ IS_MUSL != command -v apk &>/dev/null && echo 1
15
+ $(warning ~~~ musl $(IS_MUSL))
19
16
endif
20
17
21
18
TESTS =stderr_msg unittest_assert invalid_memory_operation static_dtor \
You can’t perform that action at this time.
0 commit comments