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>
Tue, 26 Jul 2011 14:47:16 +0000 (15:47 +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 e1ddf0d..ca31727 100644 (file)
@@ -219,7 +219,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.