tests on Windows
Modify the NTMakefile rules for tests so that a failed test does not prevent subsequent tests from being executed. Change-Id: I9595ad4a1527feae7c402241bf06ab21a0b76d4a
This commit is contained in:
@@ -165,7 +165,9 @@ $(OBJ)\test_hdbplugin.exe: $(OBJ)\test_hdbplugin.obj $(LIBHDB) $(LIBHEIMDAL) $(L
|
||||
|
||||
test-run:
|
||||
cd $(OBJ)
|
||||
test_dbinfo.exe
|
||||
-test_dbinfo.exe
|
||||
-test_hdbkeys.exe
|
||||
-test_hdbplugin.exe
|
||||
cd $(SRCDIR)
|
||||
|
||||
!ifdef OPENLDAP_INC
|
||||
|
||||
@@ -61,11 +61,20 @@ static void hdb_test_fini(void *ctx)
|
||||
|
||||
struct hdb_method hdb_test =
|
||||
{
|
||||
#ifdef WIN32
|
||||
/* Not c99 */
|
||||
HDB_INTERFACE_VERSION,
|
||||
hdb_test_init,
|
||||
hdb_test_fini,
|
||||
"test",
|
||||
hdb_test_create
|
||||
#else
|
||||
.version = HDB_INTERFACE_VERSION,
|
||||
.init = hdb_test_init,
|
||||
.fini = hdb_test_fini,
|
||||
.prefix = "test",
|
||||
.create = hdb_test_create
|
||||
#endif
|
||||
};
|
||||
|
||||
int
|
||||
|
||||
Reference in New Issue
Block a user