Fix access to uninitialized memory
[qt-netbsd.git] / mkspecs / features / qttest_p4.prf
blob4ab5ac24af89165fb21debbe9e04667cfcb1d33f
1 isEmpty(TEMPLATE):TEMPLATE=app
2 CONFIG += qt warn_on console depend_includepath
4 qtAddLibrary(QtTest)
6 symbian:{
7 # qt.prf sets TARGET.EPOCSTACKSIZE and TARGET.EPOCHEAPSIZE
8 #    DEFINES += QTEST_NO_SPECIALIZATIONS
9     TARGET.CAPABILITY="ALL -TCB"
10     RSS_RULES ="group_name=\"QtTests\";" 
13 # prefix test binary with tst_
14 !contains(TARGET, ^tst_.*):TARGET = $$join(TARGET,,"tst_")
16 ########################################################################
17 # Use install rule to run test application.
18 # This lets you do 'make install' on a test to both build and run it,
19 # and lets you easily build and run all tests from the parent directory.
20 # ----------------------------------------------------------------------
22 runme.files                =
23 runme.path                 = .
24 !isEmpty(DESTDIR): runme.commands = cd ./$(DESTDIR) &&
25 macx:      runme.commands += ./$(QMAKE_TARGET).app/Contents/MacOS/$(QMAKE_TARGET)
26 else:unix: runme.commands += ./$(QMAKE_TARGET)
27 else:win32: {
28     CONFIG(debug, debug|release):runme.commands += debug\\$(QMAKE_TARGET)
29     else:runme.commands += release\\$(QMAKE_TARGET)
31 embedded:  runme.commands += -qws
32 INSTALLS += runme
35 ########################################################################