[PATCH 13/28] testsuite: get options from env too

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx>
---
 validation/test-suite | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/validation/test-suite b/validation/test-suite
index 49b3e0c24..c03348028 100755
--- a/validation/test-suite
+++ b/validation/test-suite
@@ -2,6 +2,13 @@
 
 #set -x
 
+## allow flags from environment
+flags="$SPARSE_TEST_FLAGS"
+if [ ! -z "$flags" ]; then
+	unset SPARSE_TEST_FLAGS
+	exec "$0" $flags "$@"
+fi
+
 cd $(dirname "$0")
 
 default_path=".."
-- 
2.14.0

--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux