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>
Thu, 21 Jul 2011 09:50:40 +0000 (10:50 +0100)
A typical use for this is for packagers who want to increase
the default timeout:

  make quickcheck QUICKCHECK_TEST_TOOL_ARGS="-t 300"

Makefile.am

index e1ddf0d..ca31727 100644 (file)
@@ -219,7 +219,7 @@ CLEANFILES = \
 # is NOT a substitute for proper testing!
 
 quickcheck:
 # 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.
 
 
 # Make binary distribution.