RFA: Tiny Changes to tests/makefile's

Jeffrey Oldham oldham at codesourcery.com
Mon Jun 25 20:41:18 UTC 2001


As I worked toward a system that will automatically check for changes
in Pooma regression tests, I discovered several testing makefiles that
needed slight revisions.  Several did not contain `run' targets.
Others needed small other changes.

OK to commit?

(These filenames are all relative to the `src' directory.)

2001-06-25  Jeffrey D. Oldham  <oldham at codesourcery.com>

	* Connect/Lux/tests/makefile (run): New target.
	* Connect/Paws/tests/makefile (run): Likewise.
	* IO/tests/makefile (run_tests): Add dependence on `tests'.
	* NewField/tests/makefile (field_tests): Add StencilTests.
	* Partition/tests/makefile (run): New target.
	* Pooma/tests/makefile (tests): Likewise.
	(run): Likewise.
	* Threads/tests/makefile: Likewise.
	* Tulip/tests/ReduceOverContextsTest.cpp (main): Change function
	call to object creation and then function call.

Tested on	sequential Linux using GNU make version 3.78.1
		  by running "make run" in the associated test directory
Approved by	???you???

Thanks,
Jeffrey D. Oldham
oldham at codesourcery.com
-------------- next part --------------
Index: Connect/Lux/tests/makefile
===================================================================
RCS file: /home/pooma/Repository/r2/src/Connect/Lux/tests/makefile,v
retrieving revision 1.4
diff -c -p -r1.4 makefile
*** Connect/Lux/tests/makefile	2000/07/21 18:29:22	1.4
--- Connect/Lux/tests/makefile	2001/06/25 20:25:12
*************** TSTOPTS =
*** 39,44 ****
--- 39,46 ----
  
  default:: lux_tests
  
+ run:: lux_tests
+ 
  tests:: lux_tests
  
  lux_tests:: lux_test1 lux_test2 bytefield
Index: Connect/Paws/tests/makefile
===================================================================
RCS file: /home/pooma/Repository/r2/src/Connect/Paws/tests/makefile,v
retrieving revision 1.6
diff -c -p -r1.6 makefile
*** Connect/Paws/tests/makefile	2000/07/21 18:29:22	1.6
--- Connect/Paws/tests/makefile	2001/06/25 20:25:12
*************** TSTOPTS =
*** 39,44 ****
--- 39,46 ----
  
  default:: paws_tests
  
+ run:: tests
+ 
  tests:: paws_tests
  
  paws_tests:: paws_test1 paws_test2 paws_test3 paws_test4 \
Index: IO/tests/makefile
===================================================================
RCS file: /home/pooma/Repository/r2/src/IO/tests/makefile,v
retrieving revision 1.25
diff -c -p -r1.25 makefile
*** IO/tests/makefile	2000/07/27 12:33:24	1.25
--- IO/tests/makefile	2001/06/25 20:25:12
*************** tests:: testBaseSerializers testMatrixSe
*** 43,49 ****
  run: run_tests
  	cat *.out
  
! run_tests:
  	$(ODIR)/testBaseSerializers $(TSTOPTS) 1>testBaseSerializers.out 2>&1
  	$(ODIR)/testMatrixSerializers $(TSTOPTS) 1>testMatrixSerializers.out 2>&1
  	$(ODIR)/testLayoutSerializers $(TSTOPTS) 1>testLayoutSerializers.out 2>&1
--- 43,49 ----
  run: run_tests
  	cat *.out
  
! run_tests: tests
  	$(ODIR)/testBaseSerializers $(TSTOPTS) 1>testBaseSerializers.out 2>&1
  	$(ODIR)/testMatrixSerializers $(TSTOPTS) 1>testMatrixSerializers.out 2>&1
  	$(ODIR)/testLayoutSerializers $(TSTOPTS) 1>testLayoutSerializers.out 2>&1
Index: NewField/tests/makefile
===================================================================
RCS file: /home/pooma/Repository/r2/src/NewField/tests/makefile,v
retrieving revision 1.10
diff -c -p -r1.10 makefile
*** NewField/tests/makefile	2001/05/14 21:11:24	1.10
--- NewField/tests/makefile	2001/06/25 20:25:12
*************** run_tests: tests
*** 58,64 ****
  field_tests:: $(ODIR)/BasicTest1 $(ODIR)/BasicTest2 \
  	$(ODIR)/FieldTour1 $(ODIR)/FieldTour2 \
  	$(ODIR)/WhereTest $(ODIR)/VectorTest \
! 	$(ODIR)/ScalarCode $(ODIR)/ExpressionTest
  
  
  ###########################
--- 58,65 ----
  field_tests:: $(ODIR)/BasicTest1 $(ODIR)/BasicTest2 \
  	$(ODIR)/FieldTour1 $(ODIR)/FieldTour2 \
  	$(ODIR)/WhereTest $(ODIR)/VectorTest \
! 	$(ODIR)/ScalarCode $(ODIR)/StencilTests \
!         $(ODIR)/ExpressionTest
  
  
  ###########################
Index: Partition/tests/makefile
===================================================================
RCS file: /home/pooma/Repository/r2/src/Partition/tests/makefile,v
retrieving revision 1.5
diff -c -p -r1.5 makefile
*** Partition/tests/makefile	2000/07/21 18:29:22	1.5
--- Partition/tests/makefile	2001/06/25 20:25:13
*************** default:: partition_tests
*** 42,47 ****
--- 42,49 ----
  
  tests:: partition_tests
  
+ run:: partition_tests
+ 
  run_tests: partition_tests
  	$(ODIR)/ugp_test $(TSTOPTS) 1>ugp_test.out 2>&1
  
Index: Pooma/tests/makefile
===================================================================
RCS file: /home/pooma/Repository/r2/src/Pooma/tests/makefile,v
retrieving revision 1.4
diff -c -p -r1.4 makefile
*** Pooma/tests/makefile	2000/07/21 18:29:22	1.4
--- Pooma/tests/makefile	2001/06/25 20:25:13
*************** include $(PROJECT_ROOT)/config/head.mk
*** 33,38 ****
--- 33,42 ----
  
  default:: finalize pooma
  
+ tests:: finalize pooma
+ 
+ run:: tests
+ 
  .PHONY: pooma
  .PHONY: finalize
  
Index: Threads/tests/makefile
===================================================================
RCS file: /home/pooma/Repository/r2/src/Threads/tests/makefile,v
retrieving revision 1.7
diff -c -p -r1.7 makefile
*** Threads/tests/makefile	2000/03/20 14:01:07	1.7
--- Threads/tests/makefile	2001/06/25 20:25:13
*************** PASS=APP
*** 35,40 ****
--- 35,42 ----
  
  default:: tests
  
+ run:: tests
+ 
  tests:: 
  
  include $(SHARED_ROOT)/tail.mk
Index: Tulip/tests/ReduceOverContextsTest.cpp
===================================================================
RCS file: /home/pooma/Repository/r2/src/Tulip/tests/ReduceOverContextsTest.cpp,v
retrieving revision 1.1
diff -c -p -r1.1 ReduceOverContextsTest.cpp
*** Tulip/tests/ReduceOverContextsTest.cpp	2000/06/06 16:51:00	1.1
--- Tulip/tests/ReduceOverContextsTest.cpp	2001/06/25 20:25:13
*************** int main(int argc, char *argv[])
*** 68,74 ****
  
    int result1;
  
!   SumReduction_t(foo[myContext]).broadcast(result1);  
  
    BARRIER;
  
--- 68,75 ----
  
    int result1;
  
!   SumReduction_t goo(foo[myContext]);
!   goo.broadcast(result1);  
  
    BARRIER;
  


More information about the pooma-dev mailing list