test: Explicitly test linking the C++ runtime statically

This commit is contained in:
Martin Storsjö committed 2020-10-23 12:17:35 +03:00
1 parent 0e3600182d
commit 2377f1a839
2 files changed
+8

No files matched your search

+3
View File
@@ -88,6 +88,9 @@ RUN cd test && \
for test in hello-cpp hello-exception tlstest-main exception-locale exception-reduced global-terminate; do \
$arch-w64-mingw32-clang++ $test.cpp -o $arch/$test.exe || exit 1; \
done; \
for test in hello-exception; do \
$arch-w64-mingw32-clang++ $test.cpp -static -o $arch/$test-static.exe || exit 1; \
done; \
for test in tlstest-lib; do \
$arch-w64-mingw32-clang++ $test.cpp -shared -o $arch/$test.dll || exit 1; \
done; \