summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools/qmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-03-12 11:59:58 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-03-31 12:45:24 +0000
commit9e97d64ccd27adcb2053c90cfbcafaef68e53893 (patch)
tree9d2388876aade28cc9d8e25ac93b6b85e75ca461 /tests/auto/tools/qmake
parent3cdf46059a668f588fe237aa881c300dd76cbf9e (diff)
Fix installation of .pdb files for applications that have VERSION set
For applications that set VERSION the installation targets of pdb files were wrong in qmake's nmake Makefile generator. Replace code that tries to reconstruct that target's versioned extension with TARGET_EXT which already contains the fully resolved target extension. Fixes: QTBUG-74265 Change-Id: I9553a5f70170e077a59c866079ae51647ae80bef Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'tests/auto/tools/qmake')
-rw-r--r--tests/auto/tools/qmake/tst_qmake.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/auto/tools/qmake/tst_qmake.cpp b/tests/auto/tools/qmake/tst_qmake.cpp
index 1eaf66311c..cacee30c86 100644
--- a/tests/auto/tools/qmake/tst_qmake.cpp
+++ b/tests/auto/tools/qmake/tst_qmake.cpp
@@ -244,7 +244,6 @@ void tst_qmake::simple_app_versioned()
QVERIFY2(QFile::exists(pdbFilePath), qPrintable(pdbFilePath));
QVERIFY(test_compiler.make(buildDir, "install"));
QString installedPdbFilePath = installDir + '/' + targetBase + ".pdb";
- QEXPECT_FAIL("", "QTBUG-74265", Continue);
QVERIFY2(QFile::exists(installedPdbFilePath), qPrintable(installedPdbFilePath));
}
@@ -252,10 +251,8 @@ void tst_qmake::simple_app_versioned()
QVERIFY(test_compiler.exists(destDir, "simple app", Exe, version));
QVERIFY(test_compiler.makeDistClean(buildDir));
QVERIFY(!test_compiler.exists(destDir, "simple app", Exe, version));
- if (checkPdb) {
- QEXPECT_FAIL("", "QTBUG-74265", Continue);
+ if (checkPdb)
QVERIFY(!QFile::exists(pdbFilePath));
- }
QVERIFY(test_compiler.removeMakefile(buildDir));
}