[cgma-dev] r4814 - cgm/trunk/geom/testing

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Wed May 11 13:25:47 CDT 2011


Author: kraftche
Date: 2011-05-11 13:25:44 -0500 (Wed, 11 May 2011)
New Revision: 4814

Removed:
   cgm/trunk/geom/testing/cgm_test_script
Modified:
   cgm/trunk/geom/testing/Makefile.am
Log:
fix make distcheck

Modified: cgm/trunk/geom/testing/Makefile.am
===================================================================
--- cgm/trunk/geom/testing/Makefile.am	2011-05-10 21:40:18 UTC (rev 4813)
+++ cgm/trunk/geom/testing/Makefile.am	2011-05-11 18:25:44 UTC (rev 4814)
@@ -16,7 +16,6 @@
 AM_CPPFLAGS += -I$(top_srcdir)/util -I$(top_srcdir)/geom -I.
 LDADD = libcgm_test.la ../../libcgm.la  $(CGM_EXT_LDFLAGS) $(CGM_EXT_LTFLAGS)
 
-SUFFIXES = .acis .occ
 check_PROGRAMS = $(BASE_TESTS:.engine=)
 check_SCRIPT = $(TESTS)
 
@@ -36,6 +35,12 @@
 GraphicsData_SOURCES = main.cpp GraphicsData.cpp
 GraphicsData_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS) -DTEST=GraphicsData
 
-%.acis %.occ: cgm_test_script
-	cp -f $< $@ 
+$(TESTS): Makefile
+	$(AM_V_GEN) test=`expr $@ : '\(.*\)\.'` ;\
+	engine=`expr $@ : '.*\.\(.*\)'` ;\
+	echo "#!/bin/sh" >$@ ;\
+	echo "./$$test -E $$engine" >>$@ ;\
 	chmod a+x $@
+
+MOSTLYCLEANFILES = mmgr.log
+CLEANFILES = $(TESTS)

Deleted: cgm/trunk/geom/testing/cgm_test_script
===================================================================
--- cgm/trunk/geom/testing/cgm_test_script	2011-05-10 21:40:18 UTC (rev 4813)
+++ cgm/trunk/geom/testing/cgm_test_script	2011-05-11 18:25:44 UTC (rev 4814)
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-name="$0"
-test=`expr $name : '\(.*\)\.'`
-engine=`expr $name : '.*\.\(.*\)'`
-$test -E $engine














More information about the cgma-dev mailing list