diff options
author | Milosz Wasilewski <milosz.wasilewski@hackbox.linaro.org> | 2014-10-02 10:16:33 +0100 |
---|---|---|
committer | Milosz Wasilewski <milosz.wasilewski@hackbox.linaro.org> | 2014-10-02 10:16:33 +0100 |
commit | 24689e01d37605141ce768d94a94f0be3421049d (patch) | |
tree | b2ac61c7572a4bbb49aa5c871fe6f3fd68436db1 /rcutorture/bin/kvm-recheck.sh | |
parent | e14eb051ff73ab8692770762adf44045ba092398 (diff) |
Update to 83d460a640af052ee4a6b8ef5104022ffd6d6a3b from repo http://git.linaro.org/kernel/linux-linaro-stable.git branch linux-linaro-lsk-v3.14eff6a902ff6b8a42f768c4b78fc63b9b8d0a41d9a779989fd4ccf6a58237ab3932559d8e60e157b6a47897538c3e1f71c35691a1f73e73dd9149977ca0d6a47ed69978c84ba8859c3cdbbbd04e79eb2d9347e87f7cd66d6ca96ba7d0b4b1cacebea4d09683d460a640af052ee4a6b8ef5104022ffd6d6a3b7adf3d9a27e4838d0af9250c53ad5744b84886ce7368857a8eed5144e56e65713970764ef0f2f0b8667ea3959654ae48ef303df13f2635fd07766cb45b9be6d71758967d5f24c91903ef3a1b22252a365210951a4876a42856434546d2789838d3e35f3447bbd44e18034d3277a29459d1f0c45e8d1c8d3e3af2dae32ca1108e47a435eaeec276a1c8289a362dad587ec1dddf02a00d3b54156337a6dc79a752297e25caff999eeccf24b19e62388450763af15d250e8659c56d94320b877f659be45b8de130fa3121d7f14b70fed254222a24e124e8771e1437be4c0d590a1ecd1ad44b2dae2bcdc5a6cb24a7080489linux-linaro-stable-3.14
Diffstat (limited to 'rcutorture/bin/kvm-recheck.sh')
-rwxr-xr-x | rcutorture/bin/kvm-recheck.sh | 43 |
1 files changed, 9 insertions, 34 deletions
diff --git a/rcutorture/bin/kvm-recheck.sh b/rcutorture/bin/kvm-recheck.sh index 3f6c9b7..baef09f 100755 --- a/rcutorture/bin/kvm-recheck.sh +++ b/rcutorture/bin/kvm-recheck.sh @@ -1,6 +1,6 @@ #!/bin/bash # -# Given the results directories for previous KVM-based torture runs, +# Given the results directories for previous KVM runs of rcutorture, # check the build and console output for errors. Given a directory # containing results directories, this recursively checks them all. # @@ -25,45 +25,20 @@ # Authors: Paul E. McKenney <paulmck@linux.vnet.ibm.com> PATH=`pwd`/tools/testing/selftests/rcutorture/bin:$PATH; export PATH -. tools/testing/selftests/rcutorture/bin/functions.sh for rd in "$@" do - firsttime=1 dirs=`find $rd -name Make.defconfig.out -print | sort | sed -e 's,/[^/]*$,,' | sort -u` for i in $dirs do - if test -n "$firsttime" + configfile=`echo $i | sed -e 's/^.*\///'` + echo $configfile + configcheck.sh $i/.config $i/ConfigFragment + parse-build.sh $i/Make.out $configfile + parse-rcutorture.sh $i/console.log $configfile + parse-console.sh $i/console.log $configfile + if test -r $i/Warnings then - firsttime="" - resdir=`echo $i | sed -e 's,/$,,' -e 's,/[^/]*$,,'` - head -1 $resdir/log - fi - TORTURE_SUITE="`cat $i/../TORTURE_SUITE`" - kvm-recheck-${TORTURE_SUITE}.sh $i - if test -f "$i/console.log" - then - configcheck.sh $i/.config $i/ConfigFragment - parse-build.sh $i/Make.out $configfile - parse-torture.sh $i/console.log $configfile - parse-console.sh $i/console.log $configfile - if test -r $i/Warnings - then - cat $i/Warnings - fi - else - if test -f "$i/qemu-cmd" - then - print_bug qemu failed - echo " $i" - elif test -f "$i/buildonly" - then - echo Build-only run, no boot/test - configcheck.sh $i/.config $i/ConfigFragment - parse-build.sh $i/Make.out $configfile - else - print_bug Build failed - echo " $i" - fi + cat $i/Warnings fi done done |