From 786b2e7bcf8aa1b2e0f56f7c0bddaf6cfe5b28f9 Mon Sep 17 00:00:00 2001 From: panne Date: Sun, 2 Jul 2000 19:23:22 +0000 Subject: [PATCH] [project @ 2000-07-02 19:23:21 by panne] Removed -noC flag, which has vanished from the driver --- ghc/tests/README | 7 ++++--- ghc/tests/ccall/should_compile/Makefile | 2 +- ghc/tests/ccall/should_fail/Makefile | 2 +- ghc/tests/deSugar/should_compile/Makefile | 2 +- ghc/tests/deriving/should_compile/Makefile | 2 +- ghc/tests/deriving/should_fail/Makefile | 2 -- ghc/tests/printing/should_compile/Makefile | 2 +- ghc/tests/reader/should_compile/Makefile | 2 +- ghc/tests/reader/should_fail/Makefile | 2 +- ghc/tests/rename/should_fail/Makefile | 2 -- ghc/tests/stranal/should_compile/Makefile | 2 +- ghc/tests/typecheck/should_compile/Makefile | 2 +- 12 files changed, 13 insertions(+), 16 deletions(-) diff --git a/ghc/tests/README b/ghc/tests/README index 0054e5d..88975d1 100644 --- a/ghc/tests/README +++ b/ghc/tests/README @@ -35,9 +35,10 @@ options. For example, tc093_HC_OPTS = -noC -ddump-tc --noC tells not bother generating any C (not point in doing that, since we -only want to test the typechecker). -ddump-tc tells ghc to dump the -typechecker state. +-noC tells not bother generating any C (no point in doing that, since +we only want to test the typechecker. NOTE: Currently the driver does +not handle the -noC flag anymore). -ddump-tc tells ghc to dump the +typechecker state. Depending on the tests/ subdirectory, a default exit code is expected from all tests therein, normally 0 (==success). diff --git a/ghc/tests/ccall/should_compile/Makefile b/ghc/tests/ccall/should_compile/Makefile index 7c553f5..a56869f 100644 --- a/ghc/tests/ccall/should_compile/Makefile +++ b/ghc/tests/ccall/should_compile/Makefile @@ -2,7 +2,7 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/should_compile.mk -SRC_HC_OPTS += -noC -dcore-lint -fglasgow-exts +SRC_HC_OPTS += -dcore-lint -fglasgow-exts # Note that these tests are still in a state of flux... don't believe errors # they report. In fact, these aren't really very good tests at all... diff --git a/ghc/tests/ccall/should_fail/Makefile b/ghc/tests/ccall/should_fail/Makefile index 108ff21..ac50886 100644 --- a/ghc/tests/ccall/should_fail/Makefile +++ b/ghc/tests/ccall/should_fail/Makefile @@ -2,6 +2,6 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/should_fail.mk -SRC_HC_OPTS += -noC -fglasgow-exts +SRC_HC_OPTS += -fglasgow-exts include $(TOP)/mk/target.mk diff --git a/ghc/tests/deSugar/should_compile/Makefile b/ghc/tests/deSugar/should_compile/Makefile index 0bd45f5..baa35fb 100644 --- a/ghc/tests/deSugar/should_compile/Makefile +++ b/ghc/tests/deSugar/should_compile/Makefile @@ -2,7 +2,7 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/should_compile.mk -SRC_HC_OPTS += -noC -dcore-lint +SRC_HC_OPTS += -dcore-lint ds035_HC_OPTS = -fglasgow-exts ds044_HC_OPTS = -O -funbox-strict-fields diff --git a/ghc/tests/deriving/should_compile/Makefile b/ghc/tests/deriving/should_compile/Makefile index fe63d60..d2bdb36 100644 --- a/ghc/tests/deriving/should_compile/Makefile +++ b/ghc/tests/deriving/should_compile/Makefile @@ -2,6 +2,6 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/should_compile.mk -SRC_HC_OPTS += -noC -dcore-lint -nohi +SRC_HC_OPTS += -dcore-lint -nohi include $(TOP)/mk/target.mk diff --git a/ghc/tests/deriving/should_fail/Makefile b/ghc/tests/deriving/should_fail/Makefile index 814df45..c2170a4 100644 --- a/ghc/tests/deriving/should_fail/Makefile +++ b/ghc/tests/deriving/should_fail/Makefile @@ -2,6 +2,4 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/should_fail.mk -SRC_HC_OPTS += -noC - include $(TOP)/mk/target.mk diff --git a/ghc/tests/printing/should_compile/Makefile b/ghc/tests/printing/should_compile/Makefile index c4140f2..14876ec 100644 --- a/ghc/tests/printing/should_compile/Makefile +++ b/ghc/tests/printing/should_compile/Makefile @@ -2,7 +2,7 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/should_compile.mk -SRC_HC_OPTS += -noC -dcore-lint -hi-with-declarations -hi-with-exports -hi-with-instances -hi-with-fixities -ddump-tc +SRC_HC_OPTS += -dcore-lint -hi-with-declarations -hi-with-exports -hi-with-instances -hi-with-fixities -ddump-tc print002_HC_OPTS = -fno-implicit-prelude diff --git a/ghc/tests/reader/should_compile/Makefile b/ghc/tests/reader/should_compile/Makefile index c1b1008..ac9ca82 100644 --- a/ghc/tests/reader/should_compile/Makefile +++ b/ghc/tests/reader/should_compile/Makefile @@ -2,7 +2,7 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/should_compile.mk -SRC_HC_OPTS += -noC -dcore-lint +SRC_HC_OPTS += -dcore-lint read012_HC_OPTS += -O -funfold-casms-in-hi-file -fglasgow-exts -ohi T1.hi read013_HC_OPTS += -O -funfold-casms-in-hi-file -fglasgow-exts diff --git a/ghc/tests/reader/should_fail/Makefile b/ghc/tests/reader/should_fail/Makefile index 389a4ca..3bedd70 100644 --- a/ghc/tests/reader/should_fail/Makefile +++ b/ghc/tests/reader/should_fail/Makefile @@ -2,7 +2,7 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/should_fail.mk -SRC_HC_OPTS += -noC -ddump-parsed +SRC_HC_OPTS += -ddump-parsed read013_HC_OPTS += -fglasgow-exts diff --git a/ghc/tests/rename/should_fail/Makefile b/ghc/tests/rename/should_fail/Makefile index 814df45..c2170a4 100644 --- a/ghc/tests/rename/should_fail/Makefile +++ b/ghc/tests/rename/should_fail/Makefile @@ -2,6 +2,4 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/should_fail.mk -SRC_HC_OPTS += -noC - include $(TOP)/mk/target.mk diff --git a/ghc/tests/stranal/should_compile/Makefile b/ghc/tests/stranal/should_compile/Makefile index 8707162..17c5e92 100644 --- a/ghc/tests/stranal/should_compile/Makefile +++ b/ghc/tests/stranal/should_compile/Makefile @@ -2,7 +2,7 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/should_compile.mk -SRC_HC_OPTS += -noC -O -dcore-lint +SRC_HC_OPTS += -O -dcore-lint str001_HC_OPTS = -hi-with-decls -hi-with-exports -hi-with-instances diff --git a/ghc/tests/typecheck/should_compile/Makefile b/ghc/tests/typecheck/should_compile/Makefile index bf34049..95354e5 100644 --- a/ghc/tests/typecheck/should_compile/Makefile +++ b/ghc/tests/typecheck/should_compile/Makefile @@ -2,7 +2,7 @@ TOP = ../.. include $(TOP)/mk/boilerplate.mk include $(TOP)/mk/should_compile.mk -SRC_HC_OPTS += -noC -dcore-lint -fno-warn-incomplete-patterns -hi-with-declarations -hi-with-instances -hi-with-exports +SRC_HC_OPTS += -dcore-lint -fno-warn-incomplete-patterns -hi-with-declarations -hi-with-instances -hi-with-exports tc019_HC_OPTS = -fglasgow-exts tc065_HC_OPTS = -package lang -package data -- 1.7.10.4