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:04:47 +0000 (15:04 +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 b2d1f74..7a1afbc 100644 (file)
@@ -231,7 +231,7 @@ CLEANFILES = \
 # is NOT a substitute for proper testing!
 
 quickcheck:
-       ./run test-tool/libguestfs-test-tool
+       ./run test-tool/libguestfs-test-tool $(QUICKCHECK_TEST_TOOL_ARGS)
 
 # Make binary distribution.