diff --git a/tasks/runGhci.expect b/tasks/runGhci.expect index 8ce7226..b21b719 100644 --- a/tasks/runGhci.expect +++ b/tasks/runGhci.expect @@ -2,11 +2,13 @@ # GHC version to use set ver [lindex $argv 0]; - +set timeout 2 log_user 0 -spawn ghci-$ver Global.hs TaskData.hs Description.hs Parse.hs -Wall -Wno-orphans +spawn ghci-$ver Global TaskData Description Parse -Wall -Wno-orphans log_user 1 +expect_before timeout { exit 1 } + expect "*" expect "Ok, four modules loaded.*" expect "ghci> "