From ab92c9007196f28a6aa5a323625750a78dbe0bfb Mon Sep 17 00:00:00 2001 From: Alessio Di Mauro Date: Wed, 25 Nov 2015 15:46:10 +0100 Subject: [PATCH] Report disabled hw test in the logfile of the test. --- ykcs11/tests/ykcs11_tests.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ykcs11/tests/ykcs11_tests.c b/ykcs11/tests/ykcs11_tests.c index a08ac72..331a7a8 100644 --- a/ykcs11/tests/ykcs11_tests.c +++ b/ykcs11/tests/ykcs11_tests.c @@ -204,6 +204,8 @@ int main(void) { test_token_info(); test_mechanism_list_and_info(); test_session(); +#else + fprintf(stderr, "HARDWARE TESTS DISABLED!, skipping...\n"); #endif return EXIT_SUCCESS;