1# Makefile.in for tests 2# OpenLDAP: pkg/ldap/tests/Makefile.in,v 1.60.2.7 2010/04/19 19:14:26 quanah Exp 3## This work is part of OpenLDAP Software <http://www.openldap.org/>. 4## 5## Copyright 1998-2010 The OpenLDAP Foundation. 6## All rights reserved. 7## 8## Redistribution and use in source and binary forms, with or without 9## modification, are permitted only as authorized by the OpenLDAP 10## Public License. 11## 12## A copy of this license is available in the file LICENSE in the 13## top-level directory of the distribution or, alternatively, at 14## <http://www.OpenLDAP.org/license.html>. 15 16RUN=./run 17SUBDIRS= progs 18 19BUILD_BDB=@BUILD_BDB@ 20BUILD_HDB=@BUILD_HDB@ 21BUILD_SQL=@BUILD_SQL@ 22 23# test primary backends (default) 24test tests: 25 @$(MAKE) bdb 26 @$(MAKE) hdb 27 28# test all backends 29alltests: tests 30 @$(MAKE) sql 31 32bdb test-bdb: bdb-$(BUILD_BDB) 33bdb-no: 34 @echo "run configure with --enable-bdb to run BDB tests" 35 36bdb-yes bdb-mod: FORCE 37 @echo "Initiating LDAP tests for BDB..." 38 @$(RUN) -b bdb all 39 40hdb test-hdb: hdb-$(BUILD_HDB) 41hdb-no: 42 @echo "run configure with --enable-hdb to run HDB tests" 43 44hdb-yes hdb-mod: FORCE 45 @echo "Initiating LDAP tests for HDB..." 46 @$(RUN) -b hdb all 47 48sql test-sql: sql-$(BUILD_SQL) 49sql-no: 50 @echo "run configure with --enable-sql to run SQL tests" 51 52sql-yes sql-mod: FORCE 53 @echo "Initiating LDAP tests for SQL..." 54 @$(RUN) -b sql sql-all 55 56ldif test-ldif: FORCE 57 @echo "Initiating LDAP tests for LDIF..." 58 @$(RUN) -b ldif all 59 60regressions: FORCE 61 @echo "Testing (available) ITS regressions" 62 @$(RUN) its-all 63 64its: regressions 65 66clean-local: FORCE 67 -$(RM) -r testrun configpw configpw.conf *leak *gmon *core 68 69veryclean-local: FORCE 70 @-$(RM) run testdata schema ucdata 71 72