[Fresco-changes] Fresco/Babylon Makefile.in,1.14,1.15 configure.ac,1.22,1.23

Tobias Hunger tobias at fresco.org
Sun Apr 6 16:16:16 UTC 2003


Update of /cvs/fresco/Fresco/Babylon
In directory purcel:/tmp/cvs-serv26197/Babylon

Modified Files:
	Makefile.in configure.ac 
Log Message:
* Make sure that we don't try to build/run tests if Fresco-Test is not around
* Make all Makefiles aware of build-tests and run-tests.
* Added a doc/ and doc/examples/ directory to Fresco-Test with some FAQ-like
    explaination on how to write tests/integrate tests into the framework

The unit test framework is in place now... only the actual tests are still
missing;-)


Index: Makefile.in
===================================================================
RCS file: /cvs/fresco/Fresco/Babylon/Makefile.in,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- Makefile.in	4 Apr 2003 22:09:57 -0000	1.14
+++ Makefile.in	6 Apr 2003 16:15:44 -0000	1.15
@@ -88,10 +88,6 @@
        $(distdir)
 	-rm -rf $(distdir)
 
-gen-test:
-
-build-test:
-
 uninstall:
 	$(MAKE) action="uninstall"
 

Index: configure.ac
===================================================================
RCS file: /cvs/fresco/Fresco/Babylon/configure.ac,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- configure.ac	4 Apr 2003 17:39:48 -0000	1.22
+++ configure.ac	6 Apr 2003 16:15:44 -0000	1.23
@@ -44,9 +44,12 @@
 dnl Test framework
 dnl ------------------------------------------------------------------
 
-FRESCO_PACKAGE([Fresco-Test], [Fresco_Test], [$PACKAGE_VERSION], [..])
-TEST_CONFIG="$Fresco_Test_prefix/bin/Fresco-Test-config"
-AC_SUBST(TEST_CONFIG)
+FRESCO_PACKAGE([Fresco-Test], [FRESCO_TEST], [$PACKAGE_VERSION], [..])
+if test "$FRESCO_TEST_prefix." == "." ; then
+   AC_SUBST(FRESCO_TEST_CONFIG, [""])
+else
+   AC_SUBST(FRESCO_TEST_CONFIG, [$FRESCO_TEST_prefix/bin/Fresco-Test-config])
+fi
 
 dnl ------------------------------------------------------------------
 dnl Prague





More information about the Fresco-changes mailing list