summaryrefslogtreecommitdiffstats
path: root/tests/auto/qprocess/test/test.pro
blob: 61c04bce43a5fe8112ceac45e518c6a42beb44c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
load(qttest_p4)

SOURCES += ../tst_qprocess.cpp
!wince*: {
TARGET = ../tst_qprocess

win32: {
  CONFIG(debug, debug|release) {
    TARGET = ../../debug/tst_qprocess
} else {
    TARGET = ../../release/tst_qprocess
  }
}
} else {
   TARGET = tst_qprocess
}



QT = core
CONFIG += console
CONFIG -= app-bundle

!symbian: {
    QT += network
}

embedded: QT += gui

wince*: {
       
   addFile_fileWriterProcess.files = $$OUT_PWD/../fileWriterProcess/fileWriterProcess.exe 
   addFile_fileWriterProcess.path = fileWriterProcess
  
   addFile_testBatFiles.files = $$PWD/../testBatFiles/*
   addFile_testBatFiles.path = testBatFiles
   
   addFile_testDetached.files = $$OUT_PWD/../testDetached/testDetached.exe
   addFile_testDetached.path = testDetached
   
   addFile_testExitCodes.files = $$OUT_PWD/../testExitCodes/testExitCodes.exe
   addFile_testExitCodes.path = testExitCodes
   
   addFile_testGuiProcess.files = $$OUT_PWD/../testGuiProcess/testGuiProcess.exe
   addFile_testGuiProcess.path = testGuiProcess

   addFile_testProcessCrash.files = $$OUT_PWD/../testProcessCrash/testProcessCrash.exe
   addFile_testProcessCrash.path = testProcessCrash
   
   addFile_testProcessDeadWhileReading.files = $$OUT_PWD/../testProcessDeadWhileReading/testProcessDeadWhileReading.exe
   addFile_testProcessDeadWhileReading.path = testProcessDeadWhileReading
   
   addFile_testProcessEcho.files = $$OUT_PWD/../testProcessEcho/testProcessEcho.exe
   addFile_testProcessEcho.path = testProcessEcho
   
   addFile_testProcessEcho2.files = $$OUT_PWD/../testProcessEcho2/testProcessEcho2.exe 
   addFile_testProcessEcho2.path = testProcessEcho2
   
   addFile_testProcessEcho3.files = $$OUT_PWD/../testProcessEcho3/testProcessEcho3.exe
   addFile_testProcessEcho3.path = testProcessEcho3
   
   addFile_testProcessEOF.files = $$OUT_PWD/../testProcessEOF/testProcessEOF.exe 
   addFile_testProcessEOF.path = testProcessEOF
   
   addFile_testProcessLoopback.files = $$OUT_PWD/../testProcessLoopback/testProcessLoopback.exe
   addFile_testProcessLoopback.path = testProcessLoopback
   
   addFile_testProcessNormal.files = $$OUT_PWD/../testProcessNormal/testProcessNormal.exe 
   addFile_testProcessNormal.path = testProcessNormal
   
   addFile_testProcessOutput.files = $$OUT_PWD/../testProcessOutput/testProcessOutput.exe
   addFile_testProcessOutput.path = testProcessOutput
   
   addFile_testProcessNoSpacesArgs.files = $$OUT_PWD/../testProcessSpacesArgs/nospace.exe
   addFile_testProcessNoSpacesArgs.path = testProcessSpacesArgs
   
   addFile_testProcessOneSpacesArgs.files = $$OUT_PWD/../testProcessSpacesArgs/"one space".exe
   addFile_testProcessOneSpacesArgs.path = testProcessSpacesArgs
   
   addFile_testProcessTwoSpacesArgs.files = $$OUT_PWD/../testProcessSpacesArgs/"two space s".exe
   addFile_testProcessTwoSpacesArgs.path = testProcessSpacesArgs
   
   addFile_testSoftExit.files = $$OUT_PWD/../testSoftExit/testSoftExit.exe
   addFile_testSoftExit.path = testSoftExit
   
   addFile_testSpaceInName.files = $$OUT_PWD/../"test Space In Name"/testSpaceInName.exe
   addFile_testSpaceInName.path = "test Space In Name"
   
   
   DEPLOYMENT += addFile_fileWriterProcess \
                 addFile_testBatFiles \
                 addFile_testDetached \
                 addFile_testExitCodes  \
                 addFile_testGuiProcess \
                 addFile_testProcessCrash \
                 addFile_testProcessDeadWhileReading \
                 addFile_testProcessEcho \
                 addFile_testProcessEcho2 \
                 addFile_testProcessEcho3 \
                 addFile_testProcessEchoGui \
                 addFile_testProcessEOF \
                 addFile_testProcessLoopback \
                 addFile_testProcessNormal \
                 addFile_testProcessOutput \
                 addFile_testProcessNoSpacesArgs \
                 addFile_testProcessOneSpacesArgs \
                 addFile_testProcessTwoSpacesArgs \
                 addFile_testSoftExit \
                 addFile_testSpaceInName 
}

symbian: {
   binDep.files = \
        fileWriterProcess.exe \
        testDetached.exe \
        testExitCodes.exe \
        testProcessCrash.exe \
        testProcessEcho.exe \
        testProcessNormal.exe \
        testProcessOutput.exe \
        nospace.exe \
        testSpaceInName.exe
   binDep.path = \\sys\\bin

   DEPLOYMENT += binDep
}

win32|mac*:CONFIG+=insignificant_test # QTQAINFRA-428