]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Added a new target 'unittest'
authorsrn <srn@opencascade.com>
Thu, 9 Mar 2006 15:49:54 +0000 (15:49 +0000)
committersrn <srn@opencascade.com>
Thu, 9 Mar 2006 15:49:54 +0000 (15:49 +0000)
adm_local/unix/make_conclude.in

index a4efd1893a8e56eda368457759fd088d5e9393c7..c79350747cc0dd1bf2df872099c46d5d198f10cc 100644 (file)
@@ -166,10 +166,14 @@ $(DEST_SHAREDPYSCRIPTS): $(PYTHON_SHARED_SITE)/%: %
 
 check: test
 
-tests: test
+tests: unittest
 
 test: $(LIB) $(TEST_PROGS:%=$(top_builddir)/bin/salome/%) 
 
+unittest: 
+       @if test "x$(UNIT_TEST_PROG)" != "x"; then      \
+          $(top_builddir)/bin/salome/$(UNIT_TEST_PROG); \
+       fi;
 
 # copy header file in $(inc_builddir)
 #