aboutsummaryrefslogtreecommitdiffstats
path: root/src/VeriFuzz/Simulator/General.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/VeriFuzz/Simulator/General.hs')
-rw-r--r--src/VeriFuzz/Simulator/General.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/VeriFuzz/Simulator/General.hs b/src/VeriFuzz/Simulator/General.hs
index 538ecaa..543c139 100644
--- a/src/VeriFuzz/Simulator/General.hs
+++ b/src/VeriFuzz/Simulator/General.hs
@@ -55,3 +55,7 @@ timeout_ = command1_ "timeout" ["180"] . toTextIgnore
bsToI :: ByteString -> Integer
bsToI = B.foldl' (\i b -> (i `shiftL` 8) + fromIntegral b) 0
{-# INLINE bsToI #-}
+
+noPrint :: Sh a -> Sh a
+noPrint =
+ print_stdout False . print_stderr False