diff options
author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2015-09-11 17:13:30 -0700 |
---|---|---|
committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2015-09-21 11:11:48 -0700 |
commit | 3f13c20e0c29d3db974c2a0d7d5ec15abd5a434b (patch) | |
tree | 0beb42ce43328983d54718bf835e82ea48c8d2db /testsuite/tests/driver | |
parent | c234acbe76da85556befad3eaa0c7c6b31e9e1c3 (diff) | |
download | haskell-3f13c20e0c29d3db974c2a0d7d5ec15abd5a434b.tar.gz |
Revert "Revert "Revert "Support for multiple signature files in scope."""
This reverts commit 214596de224afa576a9c295bcf53c6941d6892e0.
Diffstat (limited to 'testsuite/tests/driver')
-rw-r--r-- | testsuite/tests/driver/recomp014/Makefile | 31 | ||||
-rw-r--r-- | testsuite/tests/driver/recomp014/all.T | 4 | ||||
-rw-r--r-- | testsuite/tests/driver/recomp014/recomp014.stdout | 4 | ||||
-rw-r--r-- | testsuite/tests/driver/sigof01/Makefile | 6 | ||||
-rw-r--r-- | testsuite/tests/driver/sigof01/all.T | 10 | ||||
-rw-r--r-- | testsuite/tests/driver/sigof01/sigof01i.script | 1 | ||||
-rw-r--r-- | testsuite/tests/driver/sigof01/sigof01i.stdout | 3 | ||||
-rw-r--r-- | testsuite/tests/driver/sigof01/sigof01i2.script | 3 | ||||
-rw-r--r-- | testsuite/tests/driver/sigof01/sigof01i2.stdout | 9 |
9 files changed, 0 insertions, 71 deletions
diff --git a/testsuite/tests/driver/recomp014/Makefile b/testsuite/tests/driver/recomp014/Makefile deleted file mode 100644 index e788110097..0000000000 --- a/testsuite/tests/driver/recomp014/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -TOP=../../.. -include $(TOP)/mk/boilerplate.mk -include $(TOP)/mk/test.mk - -# -fforce-recomp makes lots of driver tests trivially pass, so we -# filter it out from $(TEST_HC_OPTS). -TEST_HC_OPTS_NO_RECOMP = $(filter-out -fforce-recomp,$(TEST_HC_OPTS)) - -# Recompilation tests - -clean: - rm -f *.o *.hi - -recomp014: clean - echo 'module A where a = False' > A.hs - echo 'module A1 where a = False' > A1.hs - echo 'module B where a :: Bool' > B.hsig - echo 'first run' - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -c A.hs - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -c A1.hs - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -c B.hsig -sig-of "B is main:A" - echo 'import B; main = print a' > C.hs - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -c C.hs - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -c C.hs - echo 'second run' - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -c B.hsig -sig-of "B is main:A1" - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -c C.hs - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) A1.o C.o -o recomp014 - ./recomp014 - -.PHONY: clean recomp014 diff --git a/testsuite/tests/driver/recomp014/all.T b/testsuite/tests/driver/recomp014/all.T deleted file mode 100644 index affccd2f7f..0000000000 --- a/testsuite/tests/driver/recomp014/all.T +++ /dev/null @@ -1,4 +0,0 @@ -test('recomp014', - [ clean_cmd('$MAKE -s clean') ], - run_command, - ['$MAKE -s --no-print-directory recomp014']) diff --git a/testsuite/tests/driver/recomp014/recomp014.stdout b/testsuite/tests/driver/recomp014/recomp014.stdout deleted file mode 100644 index 7d540716f0..0000000000 --- a/testsuite/tests/driver/recomp014/recomp014.stdout +++ /dev/null @@ -1,4 +0,0 @@ -first run -compilation IS NOT required -second run -False diff --git a/testsuite/tests/driver/sigof01/Makefile b/testsuite/tests/driver/sigof01/Makefile index 629d4b656a..84dfc33a9f 100644 --- a/testsuite/tests/driver/sigof01/Makefile +++ b/testsuite/tests/driver/sigof01/Makefile @@ -21,9 +21,3 @@ sigof01m: mkdir tmp_sigof01m '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) -outputdir tmp_sigof01m --make Main.hs -sig-of "B is main:A" -o tmp_sigof01m/Main tmp_sigof01m/Main - -sigof01i: - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --interactive -v0 -ignore-dot-ghci Main.hs -sig-of "B is main:A" < sigof01i.script - -sigof01i2: - '$(TEST_HC)' $(TEST_HC_OPTS_NO_RECOMP) --interactive -v0 -ignore-dot-ghci -sig-of "B is main:A" < sigof01i2.script diff --git a/testsuite/tests/driver/sigof01/all.T b/testsuite/tests/driver/sigof01/all.T index 50418b9af0..d0cdc3c02c 100644 --- a/testsuite/tests/driver/sigof01/all.T +++ b/testsuite/tests/driver/sigof01/all.T @@ -7,13 +7,3 @@ test('sigof01m', [ clean_cmd('rm -rf tmp_sigof01m') ], run_command, ['$MAKE -s --no-print-directory sigof01m']) - -test('sigof01i', - normal, - run_command, - ['$MAKE -s --no-print-directory sigof01i']) - -test('sigof01i2', - normal, - run_command, - ['$MAKE -s --no-print-directory sigof01i2']) diff --git a/testsuite/tests/driver/sigof01/sigof01i.script b/testsuite/tests/driver/sigof01/sigof01i.script deleted file mode 100644 index ba2906d066..0000000000 --- a/testsuite/tests/driver/sigof01/sigof01i.script +++ /dev/null @@ -1 +0,0 @@ -main diff --git a/testsuite/tests/driver/sigof01/sigof01i.stdout b/testsuite/tests/driver/sigof01/sigof01i.stdout deleted file mode 100644 index bb614cd2a0..0000000000 --- a/testsuite/tests/driver/sigof01/sigof01i.stdout +++ /dev/null @@ -1,3 +0,0 @@ -False -T -True diff --git a/testsuite/tests/driver/sigof01/sigof01i2.script b/testsuite/tests/driver/sigof01/sigof01i2.script deleted file mode 100644 index 3a91e377a3..0000000000 --- a/testsuite/tests/driver/sigof01/sigof01i2.script +++ /dev/null @@ -1,3 +0,0 @@ -:load B -:browse B -:issafe diff --git a/testsuite/tests/driver/sigof01/sigof01i2.stdout b/testsuite/tests/driver/sigof01/sigof01i2.stdout deleted file mode 100644 index 1ee81c10d2..0000000000 --- a/testsuite/tests/driver/sigof01/sigof01i2.stdout +++ /dev/null @@ -1,9 +0,0 @@ -class Foo a where - foo :: a -> a - {-# MINIMAL foo #-} -data T = A.T -mkT :: T -x :: Bool -Trust type is (Module: Safe, Package: trusted) -Package Trust: Off -B is trusted! |