Regression test change

Bert THOMPSON aet at cs.mu.oz.au
Thu Mar 20 20:39:38 AEDT 1997


Fergus,

Please review this quick change.

I ran tests/runtests on murlibobo: "all tests have succeeded"

Bert

--------------------

Estimated hours taken: 0.1

Some of the makefiles contain calls to "diff -u", however the 
-u option is not supported on most platforms, whereas the -c option is. 
The -c option has almost exactly the same effect.

Changed "diff -u" to "diff -c".

tests/
	Mmake.common
	warnings/Mmake
	invalid/Mmake

CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS: ' are removed automatically
CVS: 
CVS: Committing in .
CVS: 
CVS: Modified Files:
CVS: 	Mmake.common 
CVS: ----------------------------------------------------------------------

Index: Mmake.common
===================================================================
RCS file: /home/staff/zs/imp/tests/Mmake.common,v
retrieving revision 1.5
diff -c -r1.5 Mmake.common
*** 1.5	1997/03/18 06:01:11
--- Mmake.common	1997/03/20 09:11:07
***************
*** 17,23 ****
  
  %.res: %.exp %.out
  	-rm -f $@
! 	diff -u $*.exp $*.out > $@
  
  #-----------------------------------------------------------------------------#
  
--- 17,23 ----
  
  %.res: %.exp %.out
  	-rm -f $@
! 	diff -c $*.exp $*.out > $@
  
  #-----------------------------------------------------------------------------#
  
Index: invalid/Mmake
===================================================================
RCS file: /home/staff/zs/imp/tests/invalid/Mmake,v
retrieving revision 1.12
diff -c -r1.12 Mmake
*** 1.12	1997/02/17 01:30:14
--- Mmake	1997/03/20 09:20:24
***************
*** 44,50 ****
  
  %.err_res: %.err %.err_exp
  	-rm -f $@
! 	diff -u $*.err_exp $*.err > $@
  
  all:	check
  
--- 44,50 ----
  
  %.err_res: %.err %.err_exp
  	-rm -f $@
! 	diff -c $*.err_exp $*.err > $@
  
  all:	check
  
Index: warnings/Mmake
===================================================================
RCS file: /home/staff/zs/imp/tests/warnings/Mmake,v
retrieving revision 1.14
diff -c -r1.14 Mmake
*** 1.14	1997/03/18 18:39:30
--- Mmake	1997/03/20 09:19:33
***************
*** 22,28 ****
  
  %.res:	%.exp %.err
  	-rm -f $@
! 	diff -u $*.exp $*.err > $@
  
  #-----------------------------------------------------------------------------#
  
--- 22,28 ----
  
  %.res:	%.exp %.err
  	-rm -f $@
! 	diff -c $*.exp $*.err > $@
  
  #-----------------------------------------------------------------------------#



More information about the developers mailing list