Fresco/Babylon Makefile.in,1.14,1.15 configure.ac,1.22,1.23

Tobias Hunger <[email protected]>
Newsgroups gmane.comp.video.fresco.cvs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.