]> git.sur5r.net Git - openldap/blobdiff - tests/Makefile.in
rework SQL tests invocation; improve all tests
[openldap] / tests / Makefile.in
index a937823a22a5a6c910f134a41e7dd9955c0986b6..c237d6daa147060930e1b9be1bd114b6ea9e8381 100644 (file)
@@ -1,6 +1,8 @@
 # Makefile.in for tests
 # $OpenLDAP$
-## Copyright 1998-2003 The OpenLDAP Foundation.
+## This work is part of OpenLDAP Software <http://www.openldap.org/>.
+##
+## Copyright 1998-2004 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -17,11 +19,13 @@ SUBDIRS= progs
 BUILD_BDB=@BUILD_BDB@
 BUILD_HDB=@BUILD_HDB@
 BUILD_LDBM=@BUILD_LDBM@
+BUILD_SQL=@BUILD_SQL@
 
 test tests:
        @$(MAKE) bdb
        @$(MAKE) hdb
        @$(MAKE) ldbm
+       @$(MAKE) sql
 
 bdb test-bdb:  bdb-$(BUILD_BDB)
 bdb-no:
@@ -47,6 +51,14 @@ ldbm-yes ldbm-mod:   FORCE
        @echo "Initiating LDAP tests for LDBM..."
        @$(RUN) -b ldbm all
 
+sql test-sql:  sql-$(BUILD_SQL)
+sql-no:
+       @echo "run configure with --enable-sql"
+
+sql-yes sql-mod:       FORCE
+       @echo "Initiating LDAP tests for SQL..."
+       @$(RUN) -b sql sql-all
+
 clean-local:   FORCE
        -$(RM) -r testrun *leak *gmon *core