Skip to content

Commit af6a66b

Browse files
committed
Take runQ tests from the backend and run them
1 parent 3cd4a2a commit af6a66b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Data/Array/Accelerate/Test/NoFib.hs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ import System.Environment
4444
#endif
4545

4646

47-
nofib :: RunN -> IO ()
47+
nofib :: RunN -> TestTree -> IO ()
4848
#ifdef ACCELERATE_DISABLE_NOFIB
49-
nofib _ = error $ unlines [ "Data.Array.Accelerate: the nofib test-suite has been disabled."
49+
nofib _ _ = error $ unlines [ "Data.Array.Accelerate: the nofib test-suite has been disabled."
5050
, "Reinstall package 'accelerate' with '-fnofib' to enable it."
5151
]
5252
#else
53-
nofib runN = do
53+
nofib runN test_runq = do
5454
me <- getProgName
5555
defaultMainWithIngredients [rerunningTests (nofibIngredient : defaultIngredients)]
5656
$ localOption (NumThreads 1) -- run each test sequentially with many cores
@@ -61,6 +61,7 @@ nofib runN = do
6161
, test_spectral runN
6262
, test_issues runN
6363
, test_misc runN
64+
, test_runq
6465
]
6566
#endif
6667

0 commit comments

Comments
 (0)