Fresco Makefile.in,1.40,1.41
Tobias Hunger <[email protected]>
| Newsgroups | gmane.comp.video.fresco.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/fresco/Fresco
In directory purcel:/tmp/cvs-serv26197
Modified Files:
Makefile.in
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/Makefile.in,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- Makefile.in 25 Mar 2003 20:35:58 -0000 1.40
+++ Makefile.in 6 Apr 2003 16:15:43 -0000 1.41
@@ -92,15 +92,20 @@
$(distdir)
-rm -rf $(distdir)
-gen-test:
- $(MAKE) action="gen-test"
-
-build-test:
+build-tests:
ifdef testbase_dir
$(MAKE) -C $(testbase_dir)
- $(MAKE) action="build-test"
+ $(MAKE) action="build-tests"
else
@echo "you need 'Fresco-Test' in order to build the tests"
+endif
+
+run-tests:
+ifdef testbase_dir
+ $(MAKE) -C $(testbase_dir)
+ $(MAKE) action="run-tests"
+else
+ @echo "you need 'Fresco-Test' in order to run the tests"
endif
uninstall: