Skip to content

Commit

Permalink
Run HDL simulators in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnbastiaan committed Jul 14, 2023
1 parent 465941c commit fdf488b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/src/Test/Tasty/Clash.hs
Original file line number Diff line number Diff line change
Expand Up @@ -427,9 +427,10 @@ runTest1
runTest1 modName opts@TestOptions{..} path target =
withResource mkTmpDir Directory.removeDirectoryRecursive $ \tmpDir ->
sequentialTestGroup (show target) AllSucceed
( clashTest tmpDir
: verifTests tmpDir
: hdlTests tmpDir )
[ clashTest tmpDir
, testGroup "verif" [verifTests tmpDir]
, testGroup "sim" (hdlTests tmpDir)
]
where
mkTmpDir = flip createTempDirectory "clash-test" =<< getCanonicalTemporaryDirectory
sourceDir = List.foldl' (</>) sourceDirectory (reverse (tail path))
Expand Down

0 comments on commit fdf488b

Please sign in to comment.