summaryrefslogtreecommitdiff
path: root/common/tests
diff options
context:
space:
mode:
authorStef Walter <stefw@gnome.org>2012-12-10 11:13:01 +0100
committerStef Walter <stefw@gnome.org>2013-01-09 13:49:44 +0100
commitb39c9a7792824dfa8a05926261315356d9007098 (patch)
treee4d688ab8917f009fea5e945e3b9a101ab8f53fb /common/tests
parent3ebc9a78d4bca0b630a8b887ab93d6cc654f2cb2 (diff)
Set strict debug preconditions during testing
Diffstat (limited to 'common/tests')
-rw-r--r--common/tests/test-attrs.c4
1 files changed, 4 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);