diff: move uu_type test from tests/warnings to tests/invalid

Fergus Henderson fjh at cs.mu.OZ.AU
Wed Oct 28 20:48:24 AEDT 1998


Estimated hours taken: 0.25

tests/warnings/Mmakefile:
tests/warnings/uu_type.m:
tests/warnings/uu_type.exp:
tests/invalid/Mmakefile:
tests/invalid/uu_type.m:
tests/invalid/uu_type.err_exp:
	Move the `uu_type' test case from the `warnings' directory
	to the `invalid' directory, since the compiler reports an
	error rather than a warning.  This also fixes a problem where
	the hard-coded rule for `uu_type.err' in tests/warnings/Mmakefile
	broke things (e.g. it broke `tools/bootcheck --use-subdirs').

Index: tests/invalid/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/Mmakefile,v
retrieving revision 1.30
diff -u -r1.30 Mmakefile
--- Mmakefile	1998/10/28 06:15:19	1.30
+++ Mmakefile	1998/10/28 09:40:43
@@ -57,6 +57,7 @@
 	undef_mode.m \
 	undef_symbol.m \
 	undef_type.m \
+	uu_type \
 	vars_in_wrong_places.m
 
 # we do not yet pass the following tests:
Index: tests/warnings/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/warnings/Mmakefile,v
retrieving revision 1.3
diff -u -r1.3 Mmakefile
--- Mmakefile	1998/09/15 07:31:41	1.3
+++ Mmakefile	1998/10/28 09:39:22
@@ -14,8 +14,7 @@
 	simple_code \
 	singleton_test \
 	unused_args_test \
-	unused_import \
-	uu_type
+	unused_import
 
 #-----------------------------------------------------------------------------#
 
@@ -26,10 +25,6 @@
 MCFLAGS-unused_import		= --warn-interface-imports
 
 #-----------------------------------------------------------------------------#
-
-# the compilation of uu_type is expected to yield a non-zero exit status
-uu_type.err:	uu_type.m
-	-mmc --errorcheck-only uu_type.m > uu_type.err 2>&1
 
 %.res:	%.exp %.err
 	-rm -f $@
cvs diff: tests/invalid/uu_type.err_exp is a new entry, no comparison available
cvs diff: tests/invalid/uu_type.m is a new entry, no comparison available
cvs diff: tests/warnings/uu_type.exp was removed, no comparison available
cvs diff: tests/warnings/uu_type.m was removed, no comparison available

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.



More information about the developers mailing list