Skip to content

Commit 2b055b7

Browse files
GulinSSspcfox
andcommitted
[ libs, tmp ] Add 1 minute timeout in Golden
Co-authored-by: Viktor Yudov <[email protected]>
1 parent 4bdbf2f commit 2b055b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/test/Test/Golden.idr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ runTest opts testPath = do
231231
let cg = maybe "" (" --cg " ++) (codegen opts)
232232
let exe = "\"" ++ exeUnderTest opts ++ cg ++ "\""
233233
ignore $ system $ "cd " ++ escapeArg testPath ++ " && " ++
234-
"sh ./run " ++ exe ++ " | tr -d '\\r' > output"
234+
"timeout 1m sh ./run " ++ exe ++ " | tr -d '\\r' > output"
235235
end <- clockTime UTC
236236

237237
Right out <- readFile $ testPath ++ "/output"

0 commit comments

Comments
 (0)