]> err.no Git - yubikey-personalization/commitdiff
only run the json tests for json
authorKlas Lindfors <klas@yubico.com>
Mon, 22 Apr 2013 10:43:54 +0000 (12:43 +0200)
committerKlas Lindfors <klas@yubico.com>
Mon, 22 Apr 2013 10:43:54 +0000 (12:43 +0200)
tests/Makefile.am

index ae808dbfcc2c9a41b3a075edda0b919df2b4414e..9f256df40355ffa968ae2928fe6cb61dd0e1f848 100644 (file)
@@ -33,7 +33,10 @@ LDADD = ../libykpers-1.la $(LTLIBYUBIKEY)
 
 ctests = selftest test_args_to_config test_key_generation \
        test_ndef_construction test_threaded_calls test_ykpbkdf2 \
-       test_yk_utilities test_json
+       test_yk_utilities
+if JSON
+ctests += test_json
+endif
 check_PROGRAMS = $(ctests)
 TESTS = $(ctests)