]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Modified a step "tests", now it redirected to target "unittest"
authorsrn <srn@opencascade.com>
Thu, 9 Mar 2006 12:47:44 +0000 (12:47 +0000)
committersrn <srn@opencascade.com>
Thu, 9 Mar 2006 12:47:44 +0000 (12:47 +0000)
salome_adm/unix/make_conclude.in

index d5d4a5d14c30fb654471fb933e9742ddefbbc50b..a3a132431cc63d5d7eb3fa87b93f9902b95ec24a 100644 (file)
@@ -139,10 +139,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)
 #
@@ -338,8 +342,7 @@ distclean: clean
        @if test -f $(srcdir)/Makefile.in; then                               \
           (@SETX@; $(RM) Makefile);                                          \
        fi
-
-
+     
 #implicits rules
 .cc.o:
        $(CXX) $(CXXFLAGS) $(CPPFLAGS) -c $<