From 0c31837766e016227b3c8dfd44c476949cd4741e Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 14 Nov 2018 11:47:59 +0100 Subject: tests: Add json testrunner * configure.ac: Configure makefile. * tests/Makefile.am: Run json tests if gpg tests are run. * tests/json/t-json.c: New testrunner for json tests. * tests/json/t-config.in, tests/json/t-config.out: First test. -- The idea of this test runner is that it only looks for parts in the output. This should allow it to write robust tests that check for the basics in the output but don't fail when the output is extended or slightly changed. --- tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Makefile.am') diff --git a/tests/Makefile.am b/tests/Makefile.am index b5825d20..29e0c424 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -38,7 +38,7 @@ noinst_PROGRAMS = $(TESTS) run-keylist run-export run-import run-sign \ if RUN_GPG_TESTS -gpgtests = gpg +gpgtests = gpg json else gpgtests = endif -- cgit v1.2.3