summaryrefslogtreecommitdiff
path: root/testsuite/tests/runghc/Makefile
blob: 25c2600f45384b73a84a34918d04a8e436630c92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
TOP=../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk

T7859:
	-'$(RUNGHC)' -fdefer-type-errors T7859.hs

#The bug is that when reading from standard input, --ghc-arg= did not work correctly.
#In the buggy version, the following command would try and use mtl as a source file to
#compile.
T8601:
	-echo 'main = putStrLn "Hello World!"' | '$(RUNGHC)' -f '$(TEST_HC)' -hide-package --ghc-arg=bytestring

T11247:
	# Should all work:
	'$(RUNGHC)' T11247-hs
	'$(RUNGHC)' T11247-hs.hs
	'$(RUNGHC)' T11247-lhs
	'$(RUNGHC)' T11247-lhs.lhs
	'$(RUNGHC)' T11247-no-extension
	# Should print a "nice" error message that it can't find "foo." and
	# "foo.bar"
	-'$(RUNGHC)' foo.
	-'$(RUNGHC)' foo.bar

T-signals-child:
	-'$(RUNGHC)' T-signals-child.hs --runghc '$(RUNGHC)'