From 45848e74a45a3505c70fa18854d66c678b797af2 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Fri, 1 Oct 2010 11:00:29 +0000 Subject: [PATCH] Added command-line option -l. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@2323 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scripts/run-regression-tests | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/scripts/run-regression-tests b/scripts/run-regression-tests index 61f5419a4..971ccc880 100755 --- a/scripts/run-regression-tests +++ b/scripts/run-regression-tests @@ -503,10 +503,11 @@ outputdir="${PWD}/regression-test-output-$(date +%Y-%m-%d_%Hh%Mm%Ss)" mpt_scst="false" qla2x00t="false" remove_temporary_files_at_end="false" +run_local_compilation="true" scst_local="true" quiet_download="false" -set -- $(/usr/bin/getopt "c:d:j:hkq" "$@") +set -- $(/usr/bin/getopt "c:d:j:hklq" "$@") while [ "$1" != "${1#-}" ] do case "$1" in @@ -515,6 +516,7 @@ do '-h') usage; exit 1;; '-j') export MAKEFLAGS="-j$2"; shift; shift;; '-k') remove_temporary_files_at_end="true"; shift;; + '-l') run_local_compilation="false"; shift;; '-q') quiet_download="true"; shift;; '--') shift;; *) usage; exit 1;; @@ -555,10 +557,12 @@ if ! mkdir -p "${outputdir}"; then fi test_scst_tree_patches || exit $? -compile_scst_unpatched || exit $? -compile_scst_patched debug2release || exit $? -compile_scst_patched debug2perf || exit $? -compile_scst_patched enable_proc || exit $? +if [ "${run_local_compilation}" = "true" ]; then + compile_scst_unpatched || exit $? + compile_scst_patched debug2release || exit $? + compile_scst_patched debug2perf || exit $? + compile_scst_patched enable_proc || exit $? +fi first_iteration="true" for kv in ${kernel_versions}