Lines Matching +full:- +full:- +full:workdir
1 # -*- coding: utf-8 -*-
3 #-------------------------------------------------------------------------
5 # --------------------------------------
13 # http://www.apache.org/licenses/LICENSE-2.0
21 #-------------------------------------------------------------------------
31 exit(-1)
36 def execute (args, workDir = None): argument
38 if workDir != None:
39 os.chdir(workDir)
46 … testBinaryName, executor = 'executor', execserver = 'execserver', junitTool = 'testlog-to-junit'):
62 execute(["cmake", os.path.realpath(config.srcPath)] + config.genParams, workDir = config.buildPath)
68 execute(["cmake", "."], workDir = config.buildPath)
77 execute(["cmake", "--build", "."] + config.buildParams, workDir = config.buildPath)
95 execute([config.testBinaryName, "--deqp-runmode=xml-caselist"], workDir = testWorkDir)
100 '--port=%d' % random.randint(50000, 60000),
101 '--start-server=%s' % os.path.join(config.buildPath, 'execserver', config.execserver),
102 '--binaryname=%s' % config.testBinaryName,
103 '--cmdline=--deqp-crashhandler=enable --deqp-watchdog=enable',
104 '--workdir=%s' % testWorkDir,
105 '--caselistdir=%s' % os.path.join(testWorkDir),
106 '--testset=dE-IT.*',
107 '--out=%s' % batchResultFile,
108 '--info=%s' % infoLogFile
116 BASE_BUILD_PATH = os.path.normpath(os.path.join(SRC_PATH, "..", "de-internal-tests"))
120 "win32-vs10-debug",
122 os.path.join(BASE_BUILD_PATH, "win32-vs10-debug"),
123 ['-GVisual Studio 10', '-DDEQP_TARGET=no_modules'],
124 ['--config', 'Debug', '--', '/m'],
125 'Debug\\de-internal-tests.exe',
128 'Debug\\testlog-to-junit.exe'
131 "win32-vs10-release",
133 os.path.join(BASE_BUILD_PATH, "win32-vs10-release"),
134 ['-GVisual Studio 10', '-DDEQP_TARGET=no_modules'],
135 ['--config', 'Release', '--', '/m'],
136 'Release\\de-internal-tests.exe',
139 'Release\\testlog-to-junit.exe'
142 "win64-vs10-debug",
144 os.path.join(BASE_BUILD_PATH, "win64-vs10-debug"),
145 ['-GVisual Studio 10 Win64', '-DDEQP_TARGET=no_modules'],
146 ['--config', 'Debug', '--', '/m'],
147 'Debug\\de-internal-tests.exe',
150 'Debug\\testlog-to-junit.exe'
153 "win64-vs10-release",
155 os.path.join(BASE_BUILD_PATH, "win64-vs10-release"),
156 ['-GVisual Studio 10 Win64', '-DDEQP_TARGET=no_modules'],
157 ['--config', 'Release', '--', '/m'],
158 'Release\\de-internal-tests.exe',
161 'Release\\testlog-to-junit.exe'
166 "linux32-gcc-debug",
168 os.path.join(BASE_BUILD_PATH, "linux32-gcc-debug"),
169 …-DDEQP_TARGET=no_modules', '-DCMAKE_BUILD_TYPE=Debug', '-DCMAKE_C_FLAGS=-m32', '-DCMAKE_CXX_FLAGS=…
170 ['--', '-j', '2'],
171 './de-internal-tests'
174 "linux32-gcc-release",
176 os.path.join(BASE_BUILD_PATH, "linux32-gcc-release"),
177 …-DDEQP_TARGET=no_modules', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_C_FLAGS=-m32', '-DCMAKE_CXX_FLAG…
178 ['--', '-j', '2'],
179 './de-internal-tests'
182 "linux64-gcc-debug",
184 os.path.join(BASE_BUILD_PATH, "linux64-gcc-debug"),
185 …['-DDEQP_TARGET=no_modules', '-DCMAKE_BUILD_TYPE=Debug', '-DCMAKE_C_FLAGS=-m64', '-DCMAKE_CXX_FLAG…
186 ['--', '-j', '2'],
187 './de-internal-tests'
190 "linux64-gcc-release",
192 os.path.join(BASE_BUILD_PATH, "linux64-gcc-release"),
193 …['-DDEQP_TARGET=no_modules', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_C_FLAGS=-m64', '-DCMAKE_CXX_FL…
194 ['--', '-j', '2'],
195 './de-internal-tests'
200 "linux32-clang-debug",
202 os.path.join(BASE_BUILD_PATH, "linux32-clang-debug"),
203 …-DDEQP_TARGET=no_modules', '-DCMAKE_BUILD_TYPE=Debug', '-DCMAKE_C_FLAGS=-m32', '-DCMAKE_CXX_FLAGS=…
204 ['--', '-j', '2'],
205 './de-internal-tests'
208 "linux32-clang-release",
210 os.path.join(BASE_BUILD_PATH, "linux32-clang-release"),
211 …-DDEQP_TARGET=no_modules', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_C_FLAGS=-m32', '-DCMAKE_CXX_FLAG…
212 ['--', '-j', '2'],
213 './de-internal-tests'
216 "linux64-clang-debug",
218 os.path.join(BASE_BUILD_PATH, "linux64-clang-debug"),
219 …-DDEQP_TARGET=no_modules', '-DCMAKE_BUILD_TYPE=Debug', '-DCMAKE_C_FLAGS=-m64', '-DCMAKE_CXX_FLAGS=…
220 ['--', '-j', '2'],
221 './de-internal-tests'
224 "linux64-clang-release",
226 os.path.join(BASE_BUILD_PATH, "linux64-clang-release"),
227 …-DDEQP_TARGET=no_modules', '-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_C_FLAGS=-m64', '-DCMAKE_CXX_FLAG…
228 ['--', '-j', '2'],
229 './de-internal-tests'