From 670b95c458e74117d1b4b0a318e931dc45a3a853 Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Wed, 10 Apr 2013 14:59:43 +0300 Subject: Rename oe directory to openembedded Signed-off-by: Fathi Boudra --- oe/busybox.yaml | 19 ------------------- oe/device-tree.yaml | 25 ------------------------- oe/ethernet.yaml | 19 ------------------- oe/kernel-version.yaml | 19 ------------------- oe/mysql.yaml | 19 ------------------- oe/perf.yaml | 16 ---------------- oe/pwrmgmt.yaml | 18 ------------------ oe/scripts/busybox.sh | 32 -------------------------------- oe/scripts/ethernet.sh | 34 ---------------------------------- oe/scripts/kernel-version.sh | 33 --------------------------------- oe/scripts/mysql.sh | 33 --------------------------------- oe/scripts/toolchain.sh | 33 --------------------------------- oe/toolchain.yaml | 19 ------------------- openembedded/busybox.yaml | 19 +++++++++++++++++++ openembedded/device-tree.yaml | 25 +++++++++++++++++++++++++ openembedded/ethernet.yaml | 19 +++++++++++++++++++ openembedded/kernel-version.yaml | 19 +++++++++++++++++++ openembedded/mysql.yaml | 19 +++++++++++++++++++ openembedded/perf.yaml | 16 ++++++++++++++++ openembedded/pwrmgmt.yaml | 18 ++++++++++++++++++ openembedded/scripts/busybox.sh | 32 ++++++++++++++++++++++++++++++++ openembedded/scripts/ethernet.sh | 34 ++++++++++++++++++++++++++++++++++ openembedded/scripts/kernel-version.sh | 33 +++++++++++++++++++++++++++++++++ openembedded/scripts/mysql.sh | 33 +++++++++++++++++++++++++++++++++ openembedded/scripts/toolchain.sh | 33 +++++++++++++++++++++++++++++++++ openembedded/toolchain.yaml | 19 +++++++++++++++++++ 26 files changed, 319 insertions(+), 319 deletions(-) delete mode 100644 oe/busybox.yaml delete mode 100644 oe/device-tree.yaml delete mode 100644 oe/ethernet.yaml delete mode 100644 oe/kernel-version.yaml delete mode 100644 oe/mysql.yaml delete mode 100644 oe/perf.yaml delete mode 100644 oe/pwrmgmt.yaml delete mode 100755 oe/scripts/busybox.sh delete mode 100755 oe/scripts/ethernet.sh delete mode 100755 oe/scripts/kernel-version.sh delete mode 100755 oe/scripts/mysql.sh delete mode 100755 oe/scripts/toolchain.sh delete mode 100644 oe/toolchain.yaml create mode 100644 openembedded/busybox.yaml create mode 100644 openembedded/device-tree.yaml create mode 100644 openembedded/ethernet.yaml create mode 100644 openembedded/kernel-version.yaml create mode 100644 openembedded/mysql.yaml create mode 100644 openembedded/perf.yaml create mode 100644 openembedded/pwrmgmt.yaml create mode 100755 openembedded/scripts/busybox.sh create mode 100755 openembedded/scripts/ethernet.sh create mode 100755 openembedded/scripts/kernel-version.sh create mode 100755 openembedded/scripts/mysql.sh create mode 100755 openembedded/scripts/toolchain.sh create mode 100644 openembedded/toolchain.yaml diff --git a/oe/busybox.yaml b/oe/busybox.yaml deleted file mode 100644 index a0a8f3f..0000000 --- a/oe/busybox.yaml +++ /dev/null @@ -1,19 +0,0 @@ -metadata: - name: busybox - version: 1.0 - format: "Lava-Test-Shell Test Definition 1.0" - -install: - git-repos: - - git://git.linaro.org/qa/test-definitions.git - -run: - steps: - - "cd test-definitions/oe/scripts" - - "./busybox.sh" - -parse: - pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" - fixupdict: - PASS: pass - FAIL: fail diff --git a/oe/device-tree.yaml b/oe/device-tree.yaml deleted file mode 100644 index a7d7f24..0000000 --- a/oe/device-tree.yaml +++ /dev/null @@ -1,25 +0,0 @@ -metadata: - name: device-tree - format: "Lava-Test-Shell Test Definition 1.0" - description: "Device tree test to check the folder structure." - os: - - ubuntu - devices: - - origen - - snowball - - panda - - panda-es - - vexpress - environment: - - lava-test-shell - -install: - bzr-repos: - - lp:~linaro-foundations/linaro-ubuntu/lava-test-device-tree - -run: - steps: - - "cd lava-test-device-tree; sudo bash -x ./run-test.sh" - -parse: - pattern: "(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" diff --git a/oe/ethernet.yaml b/oe/ethernet.yaml deleted file mode 100644 index 8f0f8ab..0000000 --- a/oe/ethernet.yaml +++ /dev/null @@ -1,19 +0,0 @@ -metadata: - name: ethernet - version: 1.0 - format: "Lava-Test-Shell Test Definition 1.0" - -install: - git-repos: - - git://git.linaro.org/qa/test-definitions.git - -run: - steps: - - "cd test-definitions/oe/scripts" - - "./ethernet.sh" - -parse: - pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" - fixupdict: - PASS: pass - FAIL: fail diff --git a/oe/kernel-version.yaml b/oe/kernel-version.yaml deleted file mode 100644 index 09756ab..0000000 --- a/oe/kernel-version.yaml +++ /dev/null @@ -1,19 +0,0 @@ -metadata: - name: kernel-version - version: 1.0 - format: "Lava-Test-Shell Test Definition 1.0" - -install: - git-repos: - - git://git.linaro.org/qa/test-definitions.git - -run: - steps: - - "cd test-definitions/oe/scripts" - - "./kernel-version.sh" - -parse: - pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" - fixupdict: - PASS: pass - FAIL: fail diff --git a/oe/mysql.yaml b/oe/mysql.yaml deleted file mode 100644 index 42b82c0..0000000 --- a/oe/mysql.yaml +++ /dev/null @@ -1,19 +0,0 @@ -metadata: - name: mysql - version: 1.0 - format: "Lava-Test-Shell Test Definition 1.0" - -install: - git-repos: - - git://git.linaro.org/qa/test-definitions.git - -run: - steps: - - "cd test-definitions/oe/scripts" - - "./mysql.sh" - -parse: - pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" - fixupdict: - PASS: pass - FAIL: fail diff --git a/oe/perf.yaml b/oe/perf.yaml deleted file mode 100644 index fb10012..0000000 --- a/oe/perf.yaml +++ /dev/null @@ -1,16 +0,0 @@ -metadata: - name: perf - format: "Lava-Test-Shell Test Definition 1.0" - description: "Performance tests in ubuntu." - -install: - bzr-repos: - - lp:~linaro-maintainers/lava-test/lava-test-perf - -run: - steps: - - cd lava-test-perf - - sudo bash -x ./run-perf-test.sh - -parse: - pattern: "^(?Pperf[\\w\\s-]+)\\s+:\\s+(?P\\w+)" diff --git a/oe/pwrmgmt.yaml b/oe/pwrmgmt.yaml deleted file mode 100644 index d40d964..0000000 --- a/oe/pwrmgmt.yaml +++ /dev/null @@ -1,18 +0,0 @@ -metadata: - name: pwrmgmt - format: "Lava-Test-Shell Test Definition 1.0" - description: "Test power management." - -install: - git-repos: - - git://git.linaro.org/tools/pm-qa.git - steps: - - "cd pm-qa && make -C utils" - -run: - steps: - - cd pm-qa - - make -k check - -parse: - pattern: "^(?P[\\w/\\.]+):\\s+(?P.+)\\.\\.\\.\\s+(?P\\w+)" diff --git a/oe/scripts/busybox.sh b/oe/scripts/busybox.sh deleted file mode 100755 index c43a8bc..0000000 --- a/oe/scripts/busybox.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash -# -# Busybox test. -# -# 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: Senthil Kumaran -# - -OUT=`busybox ls /proc` -if [ -n "$OUT" ] -then - echo "busybox: pass" - exit 0 -else - echo "busybox: fail" - exit 1 -fi diff --git a/oe/scripts/ethernet.sh b/oe/scripts/ethernet.sh deleted file mode 100755 index a9e4519..0000000 --- a/oe/scripts/ethernet.sh +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -# -# Ethernet test. -# -# 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: Senthil Kumaran -# - -ifconfig eth0 > ethernet.log -ifconfig eth0 | grep 'inet addr' | awk -F: '{print $2}' | awk '{print $1}' - -if [ 0 -eq $? ] -then - echo "ethernet: pass" - exit 0 -else - echo "ethernet: fail" - exit 1 -fi diff --git a/oe/scripts/kernel-version.sh b/oe/scripts/kernel-version.sh deleted file mode 100755 index 7909dbf..0000000 --- a/oe/scripts/kernel-version.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# -# Kernel Version test. -# -# 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: Senthil Kumaran -# - -uname -a | grep `uname -r` > kernel-version.log - -if [ 0 -eq $? ] -then - echo "kernel-version: pass" - exit 0 -else - echo "kernel-version: fail" - exit 1 -fi diff --git a/oe/scripts/mysql.sh b/oe/scripts/mysql.sh deleted file mode 100755 index 2a9a4f1..0000000 --- a/oe/scripts/mysql.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# -# Ethernet test. -# -# 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: Senthil Kumaran -# - -mysql -u root -e 'show databases' > mysql.log - -if [ 0 -eq $? ] -then - echo "mysql: pass" - exit 0 -else - echo "mysql: fail" - exit 1 -fi diff --git a/oe/scripts/toolchain.sh b/oe/scripts/toolchain.sh deleted file mode 100755 index 14baec3..0000000 --- a/oe/scripts/toolchain.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -# -# Toolchain test. -# -# 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: Senthil Kumaran -# - -cat /proc/version | grep -i "gcc.*linaro" > toolchain.log - -if [ 0 -eq $? ] -then - echo "toolchain: pass" - exit 0 -else - echo "toolchain: fail" - exit 1 -fi diff --git a/oe/toolchain.yaml b/oe/toolchain.yaml deleted file mode 100644 index b6869a1..0000000 --- a/oe/toolchain.yaml +++ /dev/null @@ -1,19 +0,0 @@ -metadata: - name: toolchain - version: 1.0 - format: "Lava-Test-Shell Test Definition 1.0" - -install: - git-repos: - - git://git.linaro.org/qa/test-definitions.git - -run: - steps: - - "cd test-definitions/oe/scripts" - - "./toolchain.sh" - -parse: - pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" - fixupdict: - PASS: pass - FAIL: fail diff --git a/openembedded/busybox.yaml b/openembedded/busybox.yaml new file mode 100644 index 0000000..a0a8f3f --- /dev/null +++ b/openembedded/busybox.yaml @@ -0,0 +1,19 @@ +metadata: + name: busybox + version: 1.0 + format: "Lava-Test-Shell Test Definition 1.0" + +install: + git-repos: + - git://git.linaro.org/qa/test-definitions.git + +run: + steps: + - "cd test-definitions/oe/scripts" + - "./busybox.sh" + +parse: + pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" + fixupdict: + PASS: pass + FAIL: fail diff --git a/openembedded/device-tree.yaml b/openembedded/device-tree.yaml new file mode 100644 index 0000000..a7d7f24 --- /dev/null +++ b/openembedded/device-tree.yaml @@ -0,0 +1,25 @@ +metadata: + name: device-tree + format: "Lava-Test-Shell Test Definition 1.0" + description: "Device tree test to check the folder structure." + os: + - ubuntu + devices: + - origen + - snowball + - panda + - panda-es + - vexpress + environment: + - lava-test-shell + +install: + bzr-repos: + - lp:~linaro-foundations/linaro-ubuntu/lava-test-device-tree + +run: + steps: + - "cd lava-test-device-tree; sudo bash -x ./run-test.sh" + +parse: + pattern: "(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" diff --git a/openembedded/ethernet.yaml b/openembedded/ethernet.yaml new file mode 100644 index 0000000..8f0f8ab --- /dev/null +++ b/openembedded/ethernet.yaml @@ -0,0 +1,19 @@ +metadata: + name: ethernet + version: 1.0 + format: "Lava-Test-Shell Test Definition 1.0" + +install: + git-repos: + - git://git.linaro.org/qa/test-definitions.git + +run: + steps: + - "cd test-definitions/oe/scripts" + - "./ethernet.sh" + +parse: + pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" + fixupdict: + PASS: pass + FAIL: fail diff --git a/openembedded/kernel-version.yaml b/openembedded/kernel-version.yaml new file mode 100644 index 0000000..09756ab --- /dev/null +++ b/openembedded/kernel-version.yaml @@ -0,0 +1,19 @@ +metadata: + name: kernel-version + version: 1.0 + format: "Lava-Test-Shell Test Definition 1.0" + +install: + git-repos: + - git://git.linaro.org/qa/test-definitions.git + +run: + steps: + - "cd test-definitions/oe/scripts" + - "./kernel-version.sh" + +parse: + pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" + fixupdict: + PASS: pass + FAIL: fail diff --git a/openembedded/mysql.yaml b/openembedded/mysql.yaml new file mode 100644 index 0000000..42b82c0 --- /dev/null +++ b/openembedded/mysql.yaml @@ -0,0 +1,19 @@ +metadata: + name: mysql + version: 1.0 + format: "Lava-Test-Shell Test Definition 1.0" + +install: + git-repos: + - git://git.linaro.org/qa/test-definitions.git + +run: + steps: + - "cd test-definitions/oe/scripts" + - "./mysql.sh" + +parse: + pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" + fixupdict: + PASS: pass + FAIL: fail diff --git a/openembedded/perf.yaml b/openembedded/perf.yaml new file mode 100644 index 0000000..fb10012 --- /dev/null +++ b/openembedded/perf.yaml @@ -0,0 +1,16 @@ +metadata: + name: perf + format: "Lava-Test-Shell Test Definition 1.0" + description: "Performance tests in ubuntu." + +install: + bzr-repos: + - lp:~linaro-maintainers/lava-test/lava-test-perf + +run: + steps: + - cd lava-test-perf + - sudo bash -x ./run-perf-test.sh + +parse: + pattern: "^(?Pperf[\\w\\s-]+)\\s+:\\s+(?P\\w+)" diff --git a/openembedded/pwrmgmt.yaml b/openembedded/pwrmgmt.yaml new file mode 100644 index 0000000..d40d964 --- /dev/null +++ b/openembedded/pwrmgmt.yaml @@ -0,0 +1,18 @@ +metadata: + name: pwrmgmt + format: "Lava-Test-Shell Test Definition 1.0" + description: "Test power management." + +install: + git-repos: + - git://git.linaro.org/tools/pm-qa.git + steps: + - "cd pm-qa && make -C utils" + +run: + steps: + - cd pm-qa + - make -k check + +parse: + pattern: "^(?P[\\w/\\.]+):\\s+(?P.+)\\.\\.\\.\\s+(?P\\w+)" diff --git a/openembedded/scripts/busybox.sh b/openembedded/scripts/busybox.sh new file mode 100755 index 0000000..c43a8bc --- /dev/null +++ b/openembedded/scripts/busybox.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# +# Busybox test. +# +# 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: Senthil Kumaran +# + +OUT=`busybox ls /proc` +if [ -n "$OUT" ] +then + echo "busybox: pass" + exit 0 +else + echo "busybox: fail" + exit 1 +fi diff --git a/openembedded/scripts/ethernet.sh b/openembedded/scripts/ethernet.sh new file mode 100755 index 0000000..a9e4519 --- /dev/null +++ b/openembedded/scripts/ethernet.sh @@ -0,0 +1,34 @@ +#!/bin/bash +# +# Ethernet test. +# +# 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: Senthil Kumaran +# + +ifconfig eth0 > ethernet.log +ifconfig eth0 | grep 'inet addr' | awk -F: '{print $2}' | awk '{print $1}' + +if [ 0 -eq $? ] +then + echo "ethernet: pass" + exit 0 +else + echo "ethernet: fail" + exit 1 +fi diff --git a/openembedded/scripts/kernel-version.sh b/openembedded/scripts/kernel-version.sh new file mode 100755 index 0000000..7909dbf --- /dev/null +++ b/openembedded/scripts/kernel-version.sh @@ -0,0 +1,33 @@ +#!/bin/bash +# +# Kernel Version test. +# +# 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: Senthil Kumaran +# + +uname -a | grep `uname -r` > kernel-version.log + +if [ 0 -eq $? ] +then + echo "kernel-version: pass" + exit 0 +else + echo "kernel-version: fail" + exit 1 +fi diff --git a/openembedded/scripts/mysql.sh b/openembedded/scripts/mysql.sh new file mode 100755 index 0000000..2a9a4f1 --- /dev/null +++ b/openembedded/scripts/mysql.sh @@ -0,0 +1,33 @@ +#!/bin/bash +# +# Ethernet test. +# +# 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: Senthil Kumaran +# + +mysql -u root -e 'show databases' > mysql.log + +if [ 0 -eq $? ] +then + echo "mysql: pass" + exit 0 +else + echo "mysql: fail" + exit 1 +fi diff --git a/openembedded/scripts/toolchain.sh b/openembedded/scripts/toolchain.sh new file mode 100755 index 0000000..14baec3 --- /dev/null +++ b/openembedded/scripts/toolchain.sh @@ -0,0 +1,33 @@ +#!/bin/bash +# +# Toolchain test. +# +# 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: Senthil Kumaran +# + +cat /proc/version | grep -i "gcc.*linaro" > toolchain.log + +if [ 0 -eq $? ] +then + echo "toolchain: pass" + exit 0 +else + echo "toolchain: fail" + exit 1 +fi diff --git a/openembedded/toolchain.yaml b/openembedded/toolchain.yaml new file mode 100644 index 0000000..b6869a1 --- /dev/null +++ b/openembedded/toolchain.yaml @@ -0,0 +1,19 @@ +metadata: + name: toolchain + version: 1.0 + format: "Lava-Test-Shell Test Definition 1.0" + +install: + git-repos: + - git://git.linaro.org/qa/test-definitions.git + +run: + steps: + - "cd test-definitions/oe/scripts" + - "./toolchain.sh" + +parse: + pattern: "^(?P[a-zA-Z0-9_-]+):\\s(?P\\w+)" + fixupdict: + PASS: pass + FAIL: fail -- cgit v1.2.3