aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Fagerstedt <axel.fagerstedt@linaro.org>2013-06-18 23:06:12 +0200
committerAxel Fagerstedt <axel.fagerstedt@linaro.org>2013-06-18 23:06:12 +0200
commit1daf368f1b6bb0eec1f94cc4238d8f5181520c61 (patch)
tree59c95d96c59251a0cee9f093fdea60bff737e2c2
parentda603dc5e9b2395addd5d4dbc2468798ea6f638b (diff)
build-android-testsuite: Verify that out has been created.
-rw-r--r--build-scripts/build-android-testsuite-restricted8
1 files changed, 7 insertions, 1 deletions
diff --git a/build-scripts/build-android-testsuite-restricted b/build-scripts/build-android-testsuite-restricted
index beacfe7..d28e225 100644
--- a/build-scripts/build-android-testsuite-restricted
+++ b/build-scripts/build-android-testsuite-restricted
@@ -51,6 +51,12 @@ fi
trap infrastructure_error ERR
+# Verify that the build has produced out/
+if [ ! -d out ]; then
+ echo "ERROR: out directory not found."
+ exit 1
+fi
+
# Combine output with prebuilt android images
if test -n "$ANDROID_PREBUILT_URL"; then
#get prebuilt android
@@ -67,7 +73,7 @@ if test -n "$ANDROID_PREBUILT_URL"; then
exit 1
fi
- # move thw boot tarball
+ # move the boot tarball
mv boot.tar.bz2 out/.
# we are assuming that the makefile has given us a out/ structure