diff options
-rw-r--r-- | common/tests/test-attrs.c | 4 | ||||
-rw-r--r-- | p11-kit/tests/conf-test.c | 1 | ||||
-rw-r--r-- | p11-kit/tests/pin-test.c | 1 | ||||
-rw-r--r-- | p11-kit/tests/progname-test.c | 1 | ||||
-rw-r--r-- | p11-kit/tests/test-init.c | 1 | ||||
-rw-r--r-- | p11-kit/tests/test-modules.c | 1 | ||||
-rw-r--r-- | p11-kit/tests/uri-test.c | 1 |
7 files changed, 10 insertions, 0 deletions
diff --git a/common/tests/test-attrs.c b/common/tests/test-attrs.c index e358edf..445695f 100644 --- a/common/tests/test-attrs.c +++ b/common/tests/test-attrs.c @@ -40,6 +40,7 @@ #include <string.h> #include "attrs.h" +#include "debug.h" static void test_count (CuTest *tc) @@ -486,6 +487,9 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; + setenv ("P11_KIT_STRICT", "1", 1); + p11_debug_init (); + SUITE_ADD_TEST (suite, test_count); SUITE_ADD_TEST (suite, test_build_one); SUITE_ADD_TEST (suite, test_build_two); diff --git a/p11-kit/tests/conf-test.c b/p11-kit/tests/conf-test.c index 4ea1313..ab3b31d 100644 --- a/p11-kit/tests/conf-test.c +++ b/p11-kit/tests/conf-test.c @@ -385,6 +385,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; + setenv ("P11_KIT_STRICT", "1", 1); p11_library_init (); SUITE_ADD_TEST (suite, test_parse_conf_1); diff --git a/p11-kit/tests/pin-test.c b/p11-kit/tests/pin-test.c index 5427f8b..1541547 100644 --- a/p11-kit/tests/pin-test.c +++ b/p11-kit/tests/pin-test.c @@ -302,6 +302,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; + setenv ("P11_KIT_STRICT", "1", 1); p11_library_init (); SUITE_ADD_TEST (suite, test_pin_register_unregister); diff --git a/p11-kit/tests/progname-test.c b/p11-kit/tests/progname-test.c index bd37400..6ea373c 100644 --- a/p11-kit/tests/progname-test.c +++ b/p11-kit/tests/progname-test.c @@ -81,6 +81,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; + setenv ("P11_KIT_STRICT", "1", 1); p11_library_init (); SUITE_ADD_TEST (suite, test_progname_default); diff --git a/p11-kit/tests/test-init.c b/p11-kit/tests/test-init.c index 5861bbf..7664666 100644 --- a/p11-kit/tests/test-init.c +++ b/p11-kit/tests/test-init.c @@ -295,6 +295,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; + setenv ("P11_KIT_STRICT", "1", 1); p11_mutex_init (&race_mutex); mock_module_init (); p11_library_init (); diff --git a/p11-kit/tests/test-modules.c b/p11-kit/tests/test-modules.c index 159e04e..5ac6192 100644 --- a/p11-kit/tests/test-modules.c +++ b/p11-kit/tests/test-modules.c @@ -226,6 +226,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; + setenv ("P11_KIT_STRICT", "1", 1); p11_library_init (); SUITE_ADD_TEST (suite, test_no_duplicates); diff --git a/p11-kit/tests/uri-test.c b/p11-kit/tests/uri-test.c index ba4c634..1920412 100644 --- a/p11-kit/tests/uri-test.c +++ b/p11-kit/tests/uri-test.c @@ -1172,6 +1172,7 @@ main (void) CuSuite* suite = CuSuiteNew (); int ret; + setenv ("P11_KIT_STRICT", "1", 1); p11_library_init (); SUITE_ADD_TEST (suite, test_uri_parse); |