summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2016-05-20 15:45:47 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2016-05-20 14:38:30 +0000
commite5d3ecb06b6c2b22d56a2101f33dd1aac7017d18 (patch)
treebf71d957b209e7da1f4bc635c2f633f26856709f
parentedc80ca148fe5832f4847e606d62e42f7b5d1aaf (diff)
downloadqbs-e5d3ecb06b6c2b22d56a2101f33dd1aac7017d18.tar.gz
Fix static-lib-deps autotest on Windows
We must actually call some function from the setupapi lib to provoke a link failure in case our static lib handling is broken. Change-Id: I56444ca5f31e653c3f56b7fa33c1485ced797593 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
-rw-r--r--tests/auto/api/testdata/static-lib-deps/d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/api/testdata/static-lib-deps/d.cpp b/tests/auto/api/testdata/static-lib-deps/d.cpp
index c4cccc172..07d7197ce 100644
--- a/tests/auto/api/testdata/static-lib-deps/d.cpp
+++ b/tests/auto/api/testdata/static-lib-deps/d.cpp
@@ -26,6 +26,7 @@ int d()
#elif defined(WITH_SETUPAPI)
CABINET_INFO ci;
ci.SetId = 0;
+ SetupIterateCabinet(L"invalid-file-path", 0, NULL, NULL);
return ci.SetId;
#else
return 0;