beagleboard-test-scripts: created
authorJason Kridner <jkridner@beagleboard.org>
Thu, 22 Jul 2010 00:38:11 +0000 (19:38 -0500)
committerKoen Kooi <koen@openembedded.org>
Sat, 24 Jul 2010 13:11:29 +0000 (15:11 +0200)
These are scripts from the validation repository used to test various
functions on the board.

Updated by Koen's feedback

fixed shell script error: Setting variables in shell script (do_install) need to not have spaces
between the variable and the '='.

recipes/beagleboard/beagleboard-test-scripts_git.bb [new file with mode: 0644]

diff --git a/recipes/beagleboard/beagleboard-test-scripts_git.bb b/recipes/beagleboard/beagleboard-test-scripts_git.bb
new file mode 100644 (file)
index 0000000..d3d5fde
--- /dev/null
@@ -0,0 +1,24 @@
+DESCRIPTION = "BeagleBoard test scripts"
+HOMEPAGE = "http://beagleboad.org/support"
+
+SRC_URI = "git://gitorious.org/beagleboard-validation/scripts.git;protocol=git \
+"
+
+SRCREV = "4f4578e7423c5fb1f3364e1056d53dd3b792dc2a"
+S = "${WORKDIR}/git"
+
+do_install() {
+  TEST_FILES=" \
+    testled \
+    testuserbtn \
+    testaudio \
+    testsvideo \
+    readgpio \
+    editbootscr \
+  "
+  install -d ${D}/${bindir}
+  for i in ${TEST_FILES}; do
+    install -m 0755 ${S}/${i} ${D}/${bindir}
+  done
+}
+