Skip to content

Commit 58d280b

Browse files
committed
torture: Rename RCU_KMAKE_ARG to TORTURE_KMAKE_ARG
This commit makes the torture scripts a bit more RCU-independent by changing RCU_KMAKE_ARG to TORTURE_KMAKE_ARG. It also removes the unnecessary export command. Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org>
1 parent 8c55f22 commit 58d280b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎tools/testing/selftests/rcutorture/bin/kvm-build.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ then
6060
exit 2
6161
fi
6262
ncpus=`cpus2use.sh`
63-
make O=$builddir -j$ncpus $RCU_KMAKE_ARG > $builddir/Make.out 2>&1
63+
make O=$builddir -j$ncpus $TORTURE_KMAKE_ARG > $builddir/Make.out 2>&1
6464
retval=$?
6565
if test $retval -ne 0 || grep "rcu[^/]*": < $builddir/Make.out | egrep -q "Stop|Error|error:|warning:" || egrep -q "Stop|Error|error:" < $builddir/Make.out
6666
then

‎tools/testing/selftests/rcutorture/bin/kvm.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ KVM="`pwd`/tools/testing/selftests/rcutorture"; export KVM
4040
PATH=${KVM}/bin:$PATH; export PATH
4141
TORTURE_DEFCONFIG=defconfig
4242
TORTURE_INITRD="$KVM/initrd"; export TORTURE_INITRD
43-
RCU_KMAKE_ARG=""; export RCU_KMAKE_ARG
43+
TORTURE_KMAKE_ARG=""
4444
TORTURE_SUITE=rcu
4545
resdir=""
4646
configs=""
@@ -118,7 +118,7 @@ do
118118
;;
119119
--kmake-arg)
120120
checkarg --kmake-arg "(kernel make arguments)" $# "$2" '.*' '^error$'
121-
RCU_KMAKE_ARG="$2"; export RCU_KMAKE_ARG
121+
TORTURE_KMAKE_ARG="$2"
122122
shift
123123
;;
124124
--kversion)
@@ -376,7 +376,7 @@ then
376376
echo PATH="$PATH; export PATH"
377377
echo RCU_BUILDONLY="$RCU_BUILDONLY; export RCU_BUILDONLY"
378378
echo TORTURE_INITRD="$TORTURE_INITRD; export TORTURE_INITRD"
379-
echo RCU_KMAKE_ARG="$RCU_KMAKE_ARG; export RCU_KMAKE_ARG"
379+
echo TORTURE_KMAKE_ARG="$TORTURE_KMAKE_ARG; export TORTURE_KMAKE_ARG"
380380
echo RCU_QEMU_CMD="$RCU_QEMU_CMD; export RCU_QEMU_CMD"
381381
echo RCU_QEMU_INTERACTIVE="$RCU_QEMU_INTERACTIVE; export RCU_QEMU_INTERACTIVE"
382382
echo RCU_QEMU_MAC="$RCU_QEMU_MAC; export RCU_QEMU_MAC"

0 commit comments

Comments
 (0)