torture: Rename RCU_BUILDONLY to TORTURE_BUILDONLY
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 26 Feb 2014 23:39:41 +0000 (15:39 -0800)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 14 May 2014 16:45:45 +0000 (09:45 -0700)
This commit makes the torture scripts a bit more RCU-independent by
changing RCU_BUILDONLY to TORTURE_BUILDONLY.  It also removes an
unnecessary export command.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
tools/testing/selftests/rcutorture/bin/kvm-test-1-run.sh
tools/testing/selftests/rcutorture/bin/kvm.sh

index e82f4f201c8cb0dc3c26185f86467c6d3488bcf8..86e6ffe6df45dfa472d3072915c67937cec3fa5c 100755 (executable)
@@ -152,7 +152,7 @@ boot_args="`configfrag_boot_params "$boot_args" "$config_template"`"
 boot_args="`per_version_boot_params "$boot_args" $builddir/.config $seconds`"
 
 echo $QEMU $qemu_args -m 512 -kernel $builddir/arch/x86/boot/bzImage -append \"$qemu_append $boot_args\" > $resdir/qemu-cmd
-if test -n "$RCU_BUILDONLY"
+if test -n "$TORTURE_BUILDONLY"
 then
        echo Build-only run specified, boot/test omitted.
        exit 0
index 08c90cba79d2784e3d7b365f6810a61e2329c191..73c586f6bdf6dcb10d86c817a3da2fcf635532a2 100644 (file)
@@ -81,7 +81,7 @@ do
                shift
                ;;
        --buildonly)
-               RCU_BUILDONLY=1; export RCU_BUILDONLY
+               TORTURE_BUILDONLY=1
                ;;
        --configs)
                checkarg --configs "(list of config files)" "$#" "$2" '^[^/]*$' '^--'
@@ -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.027596 seconds and 5 git commands to generate.