svn commit: samba r7338 - in branches/SAMBA_4_0/source/lib/ldb: .
tests
idra at samba.org
idra at samba.org
Mon Jun 6 14:23:20 GMT 2005
Author: idra
Date: 2005-06-06 14:23:20 +0000 (Mon, 06 Jun 2005)
New Revision: 7338
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7338
Log:
let it be possible to run sqlite3 tests when it is compiled in
make it also so that we do not run test for modules we do not compile in
Added:
branches/SAMBA_4_0/source/lib/ldb/tests/test-sqlite3.sh
Modified:
branches/SAMBA_4_0/source/lib/ldb/Makefile.in
branches/SAMBA_4_0/source/lib/ldb/tests/test-tdb.sh
Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/Makefile.in 2005-06-06 14:17:01 UTC (rev 7337)
+++ branches/SAMBA_4_0/source/lib/ldb/Makefile.in 2005-06-06 14:23:20 UTC (rev 7338)
@@ -119,15 +119,29 @@
@echo "STARTING TDB BACKEND TEST"
tests/test-tdb.sh
+ifeq ($(WITH_LDAP),yes)
test-ldap:
@echo "STARTING LDAP BACKEND TEST"
tests/test-ldap.sh
+else
+test-ldap:
+ @echo "SKIP LDAP TEST - NO LDAP SUPPORT"
+endif
+ifeq ($(WITH_SQLITE3),yes)
+test-sqlite3:
+ @echo "STARTING SQLITE3 BACKEND TEST"
+ tests/test-sqlite3.sh
+else
+test-sqlite3:
+ @echo "SKIP SQLITE3 TEST - NO SQLITE3 SUPPORT"
+endif
+
test-schema:
@echo "STARTING SCHEMA MODULE TEST"
tests/test-schema.sh
-test: test-tdb test-ldap test-schema
+test: test-tdb test-ldap test-sqlite3 test-schema
install: all
cp include/ldb.h $(includedir)
Added: branches/SAMBA_4_0/source/lib/ldb/tests/test-sqlite3.sh
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tests/test-sqlite3.sh 2005-06-06 14:17:01 UTC (rev 7337)
+++ branches/SAMBA_4_0/source/lib/ldb/tests/test-sqlite3.sh 2005-06-06 14:23:20 UTC (rev 7338)
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+
+export LDB_URL="sqlite://sqltest.ldb"
+
+rm -f sqltest.ldb
+
+. tests/test-generic.sh
+
Property changes on: branches/SAMBA_4_0/source/lib/ldb/tests/test-sqlite3.sh
___________________________________________________________________
Name: svn:executable
+ *
Modified: branches/SAMBA_4_0/source/lib/ldb/tests/test-tdb.sh
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/tests/test-tdb.sh 2005-06-06 14:17:01 UTC (rev 7337)
+++ branches/SAMBA_4_0/source/lib/ldb/tests/test-tdb.sh 2005-06-06 14:23:20 UTC (rev 7338)
@@ -1,9 +1,9 @@
#!/bin/sh
-export LDB_URL="tdb://test.ldb"
+export LDB_URL="tdb://tdbtest.ldb"
-rm -f test.ldb
+rm -f tdbtest.ldb
. tests/test-generic.sh
More information about the samba-cvs
mailing list