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:
Jeffrey Altman
2015-03-21 15:44:48 -04:00
parent 2c68305856
commit 902aa4ee02
13 changed files with 94 additions and 76 deletions

View File

@@ -460,38 +460,38 @@ $(OBJ)\test_config_strings.out: test_config_strings.cfg
test-run:
cd $(OBJ)
aes-test.exe
derived-key-test.exe
krbhst-test.exe
n-fold-test.exe
parse-name-test.exe
store-test.exe
string-to-key-test.exe
test_acl.exe
test_addr.exe
-aes-test.exe
-derived-key-test.exe
-krbhst-test.exe
-n-fold-test.exe
-parse-name-test.exe
-store-test.exe
-string-to-key-test.exe
-test_acl.exe
-test_addr.exe
# Skip alname due to lack of .k5login and "root"
# test_alname.exe
test_cc.exe
test_config.exe
test_crypto.exe
test_crypto_wrapping.exe
# -test_alname.exe
-test_cc.exe
-test_config.exe
-test_crypto.exe
-test_crypto_wrapping.exe
# Skip forward due to need for existing hostname
# test_forward.exe
test_get_addrs.exe
test_hostname.exe
test_keytab.exe
# -test_forward.exe
-test_get_addrs.exe
-test_hostname.exe
-test_keytab.exe
# Skip kuserok requires principal and localname
# test_kuserok.exe
test_mem.exe
test_pac.exe
test_pkinit_dh2key.exe
test_pknistkdf.exe
test_plugin.exe
test_prf.exe
test_renew.exe
test_rfc3961.exe
test_store.exe
test_time.exe
# -test_kuserok.exe
-test_mem.exe
-test_pac.exe
-test_pkinit_dh2key.exe
-test_pknistkdf.exe
-test_plugin.exe
-test_prf.exe
-test_renew.exe
-test_rfc3961.exe
-test_store.exe
-test_time.exe
cd $(SRCDIR)
$(test_binaries): $$(@R).obj $(LIBHEIMDAL) $(LIBVERS) $(LIBROKEN)

View File

@@ -158,9 +158,11 @@ main(int argc, char **argv)
krb5_salt salt;
krb5_enctype enctypes[] = {
#if 0
ETYPE_DES_CBC_CRC,
ETYPE_DES3_CBC_SHA1,
ETYPE_ARCFOUR_HMAC_MD5,
#endif
ETYPE_AES128_CTS_HMAC_SHA1_96,
ETYPE_AES256_CTS_HMAC_SHA1_96
};