161 QVERIFY( test_compiler.makeDistClean( buildDir )); |
162 QVERIFY( test_compiler.makeDistClean( buildDir )); |
162 QVERIFY( !test_compiler.exists( buildDir, "simple_app", Exe, "1.0.0" )); // Should not exist after a make distclean |
163 QVERIFY( !test_compiler.exists( buildDir, "simple_app", Exe, "1.0.0" )); // Should not exist after a make distclean |
163 QVERIFY( test_compiler.removeMakefile( buildDir ) ); |
164 QVERIFY( test_compiler.removeMakefile( buildDir ) ); |
164 } |
165 } |
165 |
166 |
|
167 void tst_qmake::simple_app_shadowbuild2() |
|
168 { |
|
169 QString workDir = base_path + "/testdata/simple_app"; |
|
170 QString buildDir = base_path + "/testdata/simple_app/build"; |
|
171 |
|
172 QVERIFY( test_compiler.qmake( workDir, "simple_app", buildDir )); |
|
173 QVERIFY( test_compiler.make( buildDir )); |
|
174 QVERIFY( test_compiler.exists( buildDir, "simple_app", Exe, "1.0.0" )); |
|
175 QVERIFY( test_compiler.makeClean( buildDir )); |
|
176 QVERIFY( test_compiler.exists( buildDir, "simple_app", Exe, "1.0.0" )); // Should still exist after a make clean |
|
177 QVERIFY( test_compiler.makeDistClean( buildDir )); |
|
178 QVERIFY( !test_compiler.exists( buildDir, "simple_app", Exe, "1.0.0" )); // Should not exist after a make distclean |
|
179 QVERIFY( test_compiler.removeMakefile( buildDir ) ); |
|
180 } |
|
181 |
166 void tst_qmake::simple_dll() |
182 void tst_qmake::simple_dll() |
167 { |
183 { |
168 QString workDir = base_path + "/testdata/simple_dll"; |
184 QString workDir = base_path + "/testdata/simple_dll"; |
169 |
185 |
170 QDir D; |
186 QDir D; |