Skip to content

Commit

Permalink
Merge pull request #714 from cs136/master
Browse files Browse the repository at this point in the history
Merge master into stable (fix failing seashell-cli test)
  • Loading branch information
cs136 authored Mar 22, 2017
2 parents b2c95c7 + 0fc7324 commit e4aa2e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/collects/seashell-cli.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
(define stdout (program-stdout pid))
(define run-result (sync/timeout 0 (wrap-evt stdout (compose deserialize read))))
(match run-result
[(and result (list pid _ (and test-res (or "timeout" "killed" "passed")) stdout stderr))
[(and result (list pid _ (and test-res (or "killed" "passed")) stdout stderr))
(eprintf "Program passed the test.\n")
(write-outputs stdout stderr #f)
(exit 40)]
Expand All @@ -93,7 +93,7 @@
(eprintf "Test failed the test (but did not crash)~n")
(write-outputs stdout stderr asan)
(exit 30)]
[(list pid _ "timeout")
[(or (list pid _ "timeout") (list pid _ "timeout" _ _))
(eprintf "Test timed out (but did not crash)~n")
(exit 50)]
[x
Expand Down

0 comments on commit e4aa2e5

Please sign in to comment.