torture: Rename RCU_BUILDONLY to TORTURE_BUILDONLY
[deliverable/linux.git] / tools / testing / selftests / rcutorture / bin / kvm.sh
index 04ad1f980dfe46154ebe16a46c9ad876e35c3e36..73c586f6bdf6dcb10d86c817a3da2fcf635532a2 100644 (file)
@@ -77,11 +77,11 @@ do
        case "$1" in
        --bootargs)
                checkarg --bootargs "(list of kernel boot arguments)" "$#" "$2" '.*' '^--'
-               RCU_BOOTARGS="$2"
+               TORTURE_BOOTARGS="$2"
                shift
                ;;
        --buildonly)
-               RCU_BUILDONLY=1; export RCU_BUILDONLY
+               TORTURE_BUILDONLY=1
                ;;
        --configs)
                checkarg --configs "(list of config files)" "$#" "$2" '^[^/]*$' '^--'
@@ -275,7 +275,7 @@ awk < $T/cfgcpu.pack \
        -v rd=$resdir/$ds/ \
        -v dur=$dur \
        -v RCU_QEMU_ARG=$RCU_QEMU_ARG \
-       -v RCU_BOOTARGS=$RCU_BOOTARGS \
+       -v TORTURE_BOOTARGS=$TORTURE_BOOTARGS \
 'BEGIN {
        i = 0;
 }
@@ -312,7 +312,7 @@ function dump(first, pastlast)
                print "touch " builddir ".wait";
                print "mkdir " builddir " > /dev/null 2>&1 || :";
                print "mkdir " rd cfr[jn] " || :";
-               print "kvm-test-1-run.sh " CONFIGDIR cf[j], builddir, rd cfr[jn], dur " \"" RCU_QEMU_ARG "\" \"" RCU_BOOTARGS "\" > " rd cfr[jn]  "/kvm-test-1-run.sh.out 2>&1 &"
+               print "kvm-test-1-run.sh " CONFIGDIR cf[j], builddir, rd cfr[jn], dur " \"" RCU_QEMU_ARG "\" \"" TORTURE_BOOTARGS "\" > " rd cfr[jn]  "/kvm-test-1-run.sh.out 2>&1 &"
                print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete. `date`";
                print "echo ", cfr[jn], cpusr[jn] ovf ": Waiting for build to complete. `date` >> " rd "/log";
                print "while test -f " builddir ".wait"
@@ -374,7 +374,7 @@ then
        echo KVM="$KVM; export KVM"
        echo KVPATH="$KVPATH; export KVPATH"
        echo PATH="$PATH; export PATH"
-       echo RCU_BUILDONLY="$RCU_BUILDONLY; export RCU_BUILDONLY"
+       echo TORTURE_BUILDONLY="$TORTURE_BUILDONLY; export TORTURE_BUILDONLY"
        echo TORTURE_INITRD="$TORTURE_INITRD; export TORTURE_INITRD"
        echo TORTURE_KMAKE_ARG="$TORTURE_KMAKE_ARG; export TORTURE_KMAKE_ARG"
        echo RCU_QEMU_CMD="$RCU_QEMU_CMD; export RCU_QEMU_CMD"
@@ -402,4 +402,7 @@ echo
 echo
 echo " --- `date` Test summary:"
 echo Results directory: $resdir/$ds
-kvm-recheck.sh $resdir/$ds
+if test -n "$TORTURE_BUILDONLY"
+then
+       kvm-recheck.sh $resdir/$ds
+fi
This page took 0.027836 seconds and 5 git commands to generate.