summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2013-04-02 13:05:57 +0530
committerAmit Pundir <amit.pundir@linaro.org>2013-04-02 13:05:57 +0530
commit0bf260ec4bfcc0334a770eedae92d9e303842d76 (patch)
treec20b1c2255c9c2764827002bcc3a5865e17b0e42
add bctest
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
-rwxr-xr-xbctest.sh25
-rw-r--r--bctest.yaml11
2 files changed, 36 insertions, 0 deletions
diff --git a/bctest.sh b/bctest.sh
new file mode 100755
index 0000000..94eeada
--- /dev/null
+++ b/bctest.sh
@@ -0,0 +1,25 @@
+#!/system/bin/sh
+#
+# One more binder test for private/restrcited Juice android builds available at
+# https://android-build.linaro.org/builds/~linaro-android-restricted/juice-aosp/
+#
+# Copyright (C) 2012, Linaro Limited.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# Author: Amit Pundir <amit.pundir@linaro.org>
+#
+
+bctest publish 1
diff --git a/bctest.yaml b/bctest.yaml
new file mode 100644
index 0000000..08e3ad6
--- /dev/null
+++ b/bctest.yaml
@@ -0,0 +1,11 @@
+metadata:
+ name: bctest
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "One more binder test for private/restricted Juice android builds."
+
+run:
+ steps:
+ - "./android/scripts/bctest.sh"
+
+parse:
+ pattern: "(?P<test_case_id>.*ioctl)\s(?P<result>(PASS|FAIL)?).*"