summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/should_run/Makefile
blob: 3354196188b67d9865748e9637205231a7a12aa8 (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