build: Allow 'make quickcheck' test-tool args to be overridden.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 21 Jul 2011 09:50:40 +0000 (10:50 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 27 Jul 2011 14:00:03 +0000 (15:00 +0100)
A typical use for this is for packagers who want to increase
the default timeout:

  make quickcheck QUICKCHECK_TEST_TOOL_ARGS="-t 300"

(Cherry picked from commit 806b6e01506dea4eae68ac3e468d9398d63cafcb)

Makefile.am

index acd8efc..c6a02e1 100644 (file)
@@ -192,7 +192,7 @@ CLEANFILES = \
 # is NOT a substitute for proper testing!
 
 quickcheck:
-       test-tool/run-test-tool-locally
+       test-tool/run-test-tool-locally $(QUICKCHECK_TEST_TOOL_ARGS)
 
 # Make binary distribution.