run-tests: Silence errors from trying to build uwp-error which intentionally should fail in certain configurations

This commit is contained in:
Martin Storsjö committed 2020-03-05 15:39:30 +02:00
1 parent 551b046498
commit 20d3b32b30
1 file changed
+1 -1
+1 -1
View File
@@ -148,7 +148,7 @@ for arch in $ARCHS; do
for test in $TESTS_UWP; do
set +e
# compilation should fail for UWP and WinRT
$arch-w64-$target_os-clang $test.c -o $TEST_DIR/$test-$target_os.exe -Wimplicit-function-declaration -Werror
$arch-w64-$target_os-clang $test.c -o $TEST_DIR/$test-$target_os.exe -Wimplicit-function-declaration -Werror > /dev/null 2>&1
UWP_ERROR=$?
set -e
case $target_os in