for review: test suite changes.

Tyson Dowd trd at cs.mu.OZ.AU
Sat Aug 29 15:53:32 AEST 1998


Hi,

These changes should help us pass the test suite.

The debugger test that is disabled is not vital for beta-releases
at the moment.

===================================================================


Estimated hours taken: 1.5

debugger/Mmakefile:
	Disable the queens test, which is has output that doesn't
	seem to match its input.

invalid/Mmakefile:
	Generate dependencies for nested_impl_in_int, but don't
	try to build it any further. 
	This detects the error, but avoids trying to build the entire
	program.


Index: debugger/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/debugger/Mmakefile,v
retrieving revision 1.8
diff -u -r1.8 Mmakefile
--- Mmakefile	1998/08/07 04:41:52	1.8
+++ Mmakefile	1998/08/27 08:06:32
@@ -8,10 +8,14 @@
 
 #-----------------------------------------------------------------------------#
 
+# Commented out tests are currently disabled because they fail, but are
+# not vital at the moment because the debugger is still a work in
+# progres.
+
 DEBUGGER_PROGS=	\
 	debugger_regs	\
 	interpreter	\
-	queens
+#	queens
 
 MCFLAGS = --trace all
 C2INITFLAGS = -i
Index: invalid/Mmakefile
===================================================================
RCS file: /home/mercury1/repository/tests/invalid/Mmakefile,v
retrieving revision 1.23
diff -u -r1.23 Mmakefile
--- Mmakefile	1998/08/07 04:42:02	1.23
+++ Mmakefile	1998/08/27 12:11:13
@@ -67,6 +67,7 @@
 MCFLAGS-any_mode	=	--infer-types
 MCFLAGS-duplicate_modes	=	--verbose-error-messages
 MCFLAGS-missing_interface_import = --make-interface
+MCFLAGS-nested_impl_in_int =	--generate-dependencies
 
 DEPS=		$(SOURCES:%.m=%.dep)
 DEPENDS=	$(SOURCES:%.m=%.depend)
@@ -93,12 +94,8 @@
 
 # We only need to make the dependencies for test cases consisting of
 # multiple modules; currently the following are the only such cases.
-depend:	test_nested.depend nested_impl_in_int.depend
+depend:	test_nested.depend
 
-# The error in this file is actually reported even at make depend time,
-# so we need to ignore the return status.
-nested_impl_in_int.depend:
-	-$(MCD) $(ALL_MCDFLAGS) nested_impl_in_int
 
 clean:
 	rm -f *.err *.err_res


-- 
       Tyson Dowd           # There isn't any reason why Linux can't be
                            # implemented as an enterprise computing solution.
     trd at cs.mu.oz.au        # Find out what you've been missing while you've
http://www.cs.mu.oz.au/~trd # been rebooting Windows NT. -- InfoWorld, 1998.



More information about the developers mailing list