diff options
Diffstat (limited to 'src/VeriFuzz/Simulator/General.hs')
-rw-r--r-- | src/VeriFuzz/Simulator/General.hs | 4 |
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 |