dph-smvm.T 753 Bytes
Newer Older
benl's avatar
benl committed
1

2 3 4

testFile = 'nothing'
if config.platform.startswith('i386-'):
Ian Lynagh's avatar
Ian Lynagh committed
5 6
        testFile  = 'test-i386.dat'
        outFile   = 'result-i386.txt'
7

8
elif config.platform.startswith('x86_64-'):
Ian Lynagh's avatar
Ian Lynagh committed
9 10
        testFile  = 'test-x86_64.dat'
        outFile   = 'result-x86_64.txt'
11

12
elif config.platform.startswith('sparc-'):
Ian Lynagh's avatar
Ian Lynagh committed
13 14
        testFile  = 'test-sparc.dat'
        outFile   = 'result-sparc.txt'
15 16


17
if testFile != 'nothing':
Ian Lynagh's avatar
Ian Lynagh committed
18
 test   ('dph-smvm' 
Ian Lynagh's avatar
Ian Lynagh committed
19
        , [ alone
20
          , skip_if_fast
Ian Lynagh's avatar
Ian Lynagh committed
21
          , reqlib('dph-par')
benl's avatar
benl committed
22
          , reqlib('dph-prim-par')
23
          , only_ways(['normal', 'threaded1', 'threaded2']) 
Ian Lynagh's avatar
Ian Lynagh committed
24 25 26 27
          , extra_run_opts(testFile + " " + outFile)
          ] 
        , multimod_compile_and_run 
        , [ 'Main'
28
          , '-Odph -fdph-par'])
benl's avatar
benl committed
29 30