Skip to content
Snippets Groups Projects
Commit 0f470d68 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add a new test: hpc_ghc_ghci

Small demonstration of #1779
parent 7c05a527
No related branches found
No related tags found
No related merge requests found
module A (a) where
a :: Char
a = 'z'
module B (b) where
import A
b :: Char
b = a
# This Makefile runs the tests using GHC's testsuite framework. It
# assumes the package is part of a GHC build tree with the testsuite
# installed in ../../../testsuite.
TOP=../../../../testsuite
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/test.mk
hpc_ghc_ghci:
rm -f A.o A.hi
$(TEST_HC) -fhpc -c A.hs
echo b | $(TEST_HC) -v0 --interactive B.hs
'z'
test('hpc_ghc_ghci',
[broken(1779),
only_ways(['normal']),
only_compiler_types(['ghc'])],
run_command,
['$MAKE -s --no-print-directory hpc_ghc_ghci'])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment