From 4476d87f229aa4615d9b42f1124b657361a110c3 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 9 Jan 2019 18:44:08 +0000 Subject: Change to timeout to support FilePath --- src/Test/VeriFuzz/Simulator/General.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Test/VeriFuzz/Simulator/General.hs b/src/Test/VeriFuzz/Simulator/General.hs index b513b79..8c5c7ec 100644 --- a/src/Test/VeriFuzz/Simulator/General.hs +++ b/src/Test/VeriFuzz/Simulator/General.hs @@ -45,11 +45,11 @@ class (Simulator a) => Synthesize a where -> FilePath -- ^ Output verilog file for the module -> Sh () -- ^ does not return any values -timeout :: Text -> [Text] -> Sh Text -timeout = command1 "timeout" ["180"] +timeout :: FilePath -> [Text] -> Sh Text +timeout = command1 "timeout" ["180"] . toTextIgnore -timeout_ :: Text -> [Text] -> Sh () -timeout_ = command1_ "timeout" ["180"] +timeout_ :: FilePath -> [Text] -> Sh () +timeout_ = command1_ "timeout" ["180"] . toTextIgnore synthesizers :: [Text] synthesizers = ["yosys", "xst"] -- cgit