aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAKASHI Takahiro <takahiro.akashi@linaro.org>2015-11-06 14:26:53 +0900
committerAKASHI Takahiro <takahiro.akashi@linaro.org>2015-11-06 14:26:53 +0900
commita1aa2f708bdf77fc4b22b8f6a0ee81ef4159e610 (patch)
treebaa9e679132c770e84e55d5dde81d47a5a624f3e
parentfd8509e2a6f4dbccba19b9f5715f6fc89e1f5010 (diff)
downloadkbuildtest-master.tar.gz
fix -n option bugHEADmaster
Even if more than one commit is specified, only the first one is processed with -n option. This patch fixes this bug.
-rwxr-xr-xkbuildtest.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kbuildtest.sh b/kbuildtest.sh
index 9d1c0c9..63a0056 100755
--- a/kbuildtest.sh
+++ b/kbuildtest.sh
@@ -397,6 +397,7 @@ function run_build_test_configs {
TESTS=$(cd ${LOGDIR}/$p ; ls -v)
# echo TESTS are ${TESTS}
+ error=0
if [ -n "${nflag}" ]
then
return
@@ -404,7 +405,6 @@ function run_build_test_configs {
${ECHO} Processing patch $p "($(echo ${TESTS} | xargs echo))"
fi
- error=0
for c in ${TESTS}
do
run_build_test