summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/ghci/should_run/Makefile
blob: f2d6ad70705392903bb1d69597fd7ed0a081469e (plain)
1
2
3
4
5
6
7
8
9
TOP=../../../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk

# Test that threadDelay can be interrupted by ^C.
3171:
	echo "do Control.Concurrent.threadDelay 3000000; putStrLn \"threadDelay was not interrupted\"" | \
	"$(TEST_HC)" $(TEST_HC_OPTS) -ignore-dot-ghci -v0 --interactive 2>3171.err & \
	sleep 2; kill -INT $$!; wait