summaryrefslogtreecommitdiff
path: root/tests/auto/testlib
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2013-09-01 19:05:46 +0300
committerOliver Wolff <oliver.wolff@digia.com>2013-09-02 13:43:19 +0200
commit06c1ec4dd1df6e0bc417241bd15f164b38de87b3 (patch)
tree0b29ca3d73bcdf22664cd6e63703258de7bfa565 /tests/auto/testlib
parentce65e5ef6fd1da5de952b9491942083aedeacd40 (diff)
downloadqtbase-winrt.tar.gz
WinRT: Fix various test compilationswinrt
- Remove irrelevant test subdirs via .pro files - Follow WinCE codepaths where applicable - Replace unsupported Win32 APIs with WinRT equivalents This does not aim to fix any failures in the tests themselves; it only makes them compile. Change-Id: Ia82bc0cc402891f8f6238d4c261ee9152b51be80 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests/auto/testlib')
-rw-r--r--tests/auto/testlib/selftests/crashes/tst_crashes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/selftests/crashes/tst_crashes.cpp b/tests/auto/testlib/selftests/crashes/tst_crashes.cpp
index 067c2a9f4f..3b73d87876 100644
--- a/tests/auto/testlib/selftests/crashes/tst_crashes.cpp
+++ b/tests/auto/testlib/selftests/crashes/tst_crashes.cpp
@@ -57,7 +57,7 @@ private slots:
void tst_Crashes::crash()
{
-#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
+#if defined(Q_OS_WIN) && !defined(Q_OS_WINCE) && !defined(Q_OS_WINRT)
//we avoid the error dialogbox to appear on windows
SetErrorMode( SEM_NOGPFAULTERRORBOX | SEM_FAILCRITICALERRORS | SEM_NOOPENFILEERRORBOX);
#endif