diff options
author | Piotr Fusik <piotr@fusion-lang.org> | 2024-02-22 15:26:17 +0100 |
---|---|---|
committer | Piotr Fusik <piotr@fusion-lang.org> | 2024-02-22 15:26:17 +0100 |
commit | 88c19dd5488d744841f7555096a8fd80f1789a32 (patch) | |
tree | 92bfd403b074fec01ef3f6af34b371e39c9ef58c | |
parent | 3c25bd27c8970d9c2c8479d564bee707982e2946 (diff) |
[test] No ICU on Windows.
#147
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -20,6 +20,7 @@ ifeq ($(shell uname),Linux) TEST_CFLAGS += -fsanitize=address -g TEST_CXXFLAGS += -fsanitize=address -g endif +TEST_CXXFLAGS += $(if $(findstring $*, StringToLower StringToUpper), -licuuc) JAVACPSEP = : SWIFTC += -sanitize=address endif @@ -181,7 +182,7 @@ test/bin/%/c.exe: test/bin/%/Test.c $(DO)$(CC) -o $@ $(TEST_CFLAGS) -Wno-unused-function -I $(<D) $^ `pkg-config --cflags --libs glib-2.0` -lm || grep '//FAIL:.*\<c\>' test/$*.fu test/bin/%/cpp.exe: test/bin/%/Test.cpp - $(DO)$(CXX) -o $@ $(TEST_CXXFLAGS) -I $(<D) $^ $(if $(findstring $*, StringToLower StringToUpper), -licuuc) || grep '//FAIL:.*\<cpp\>' test/$*.fu + $(DO)$(CXX) -o $@ $(TEST_CXXFLAGS) -I $(<D) $^ || grep '//FAIL:.*\<cpp\>' test/$*.fu test/bin/%/cs.dll: test/bin/%/Test.cs $(DO)$(CSC) -out:$@ $^ || grep '//FAIL:.*\<cs\>' test/$*.fu |