blob: d0a940a7c197025dbbdaf9b34e334b6fff6fefe5 (
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
|
testFile = 'nothing'
if config.platform.startswith('i386-'):
testFile = 'test-i386.dat'
outFile = 'result-i386.txt'
elif config.platform.startswith('x86_64-'):
testFile = 'test-x86_64.dat'
outFile = 'result-x86_64.txt'
elif config.platform.startswith('sparc-'):
testFile = 'test-sparc.dat'
outFile = 'result-sparc.txt'
if testFile != 'nothing':
test ('dph-smvm'
, [ alone
, skip_if_fast
, reqlib('dph-par')
, reqlib('dph-prim-par')
, only_ways(['normal', 'threaded1', 'threaded2'])
, extra_run_opts(testFile + " " + outFile)
]
, multimod_compile_and_run
, [ 'Main'
, '-Odph -fdph-par'])
|