summaryrefslogtreecommitdiffstats
path: root/jack-tests/etc
diff options
context:
space:
mode:
authorJean-Marie Henaff <jmhenaff@google.com>2014-12-05 11:12:09 +0100
committerJean-Marie Henaff <jmhenaff@google.com>2014-12-05 11:20:47 +0100
commit654470a72f18d0b6853c710352ecb0eb12a83610 (patch)
tree9bc2e54bdd19b4988679d34b0af6556821a69bb4 /jack-tests/etc
parentb316f338210ca17709926c18b7a812919b5a8197 (diff)
downloadtoolchain_jack-654470a72f18d0b6853c710352ecb0eb12a83610.tar.gz
toolchain_jack-654470a72f18d0b6853c710352ecb0eb12a83610.tar.bz2
toolchain_jack-654470a72f18d0b6853c710352ecb0eb12a83610.zip
Move test-exit-status.sh in etc/
Change-Id: Iccf88b7557a62a12717af411d80cc1726204c345
Diffstat (limited to 'jack-tests/etc')
-rwxr-xr-xjack-tests/etc/test-exit-status.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/jack-tests/etc/test-exit-status.sh b/jack-tests/etc/test-exit-status.sh
new file mode 100755
index 00000000..14e6a99f
--- /dev/null
+++ b/jack-tests/etc/test-exit-status.sh
@@ -0,0 +1,18 @@
+#!/system/bin/sh
+# Copyright (C) 2014 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"$@"
+echo $? > /data/jack-tests/exitStatus
+