qt: Respect --disable-gpg-test for tests
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 4 May 2018 08:03:42 +0000 (10:03 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Fri, 4 May 2018 08:03:42 +0000 (10:03 +0200)
* lang/qt/Makefile.am: Respect --disable-gpg-test

--
This is similar to the core switch to disable the tests.

lang/qt/Makefile.am

index ab85960..a1b83e8 100644 (file)
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA
 
-SUBDIRS = src tests doc
+if RUN_GPG_TESTS
+tests = tests
+else
+tests =
+endif
+
+SUBDIRS = src ${tests} doc
 
 EXTRA_DIST = README