summaryrefslogtreecommitdiff
path: root/openembedded
diff options
context:
space:
mode:
Diffstat (limited to 'openembedded')
-rw-r--r--openembedded/acpi-smoke-test.yaml16
-rw-r--r--openembedded/busybox.yaml6
-rw-r--r--openembedded/ethernet.yaml6
-rw-r--r--openembedded/jtreg/exclude.txt41
-rw-r--r--openembedded/kernel-version.yaml6
-rw-r--r--openembedded/ltp-realtime.yaml6
-rw-r--r--openembedded/ltp.yaml4
-rw-r--r--openembedded/mauve-setup.yaml2
-rw-r--r--openembedded/mysql.yaml6
-rw-r--r--openembedded/openjdk8-sanity.yaml6
-rw-r--r--openembedded/phpinfo.yaml6
-rw-r--r--openembedded/phpmysql.yaml6
-rwxr-xr-xopenembedded/scripts/acpi-smoke-test.sh48
-rw-r--r--openembedded/sdkhelloc.yaml6
-rw-r--r--openembedded/sdkhellocxx.yaml6
-rw-r--r--openembedded/smoke-tests-basic.yaml22
-rw-r--r--openembedded/toolchain.yaml6
17 files changed, 130 insertions, 69 deletions
diff --git a/openembedded/acpi-smoke-test.yaml b/openembedded/acpi-smoke-test.yaml
new file mode 100644
index 0000000..7fb54e3
--- /dev/null
+++ b/openembedded/acpi-smoke-test.yaml
@@ -0,0 +1,16 @@
+metadata:
+ name: acpi-smoke-test
+ format: "Lava-Test-Shell Test Definition 1.0"
+ description: "Testing for the presence of ACPI"
+ maintainer:
+ - timothy.anzaku@linaro.org
+ os:
+ - openembedded
+ scope:
+ - functional
+ devices:
+ - rtsm_fvp_base_cortex-a57x1-a53x1
+ - rtsm_fvp_base-aemv8a
+run:
+ steps:
+ - "./openembedded/scripts/acpi-smoke-test.sh"
diff --git a/openembedded/busybox.yaml b/openembedded/busybox.yaml
index ea4f35a..1eb9563 100644
--- a/openembedded/busybox.yaml
+++ b/openembedded/busybox.yaml
@@ -11,13 +11,9 @@ metadata:
devices:
- rtsm_ve-armv8
-install:
- git-repos:
- - git://git.linaro.org/qa/test-definitions.git
-
run:
steps:
- - "cd test-definitions/openembedded/scripts"
+ - "cd openembedded/scripts"
- "./busybox.sh"
parse:
diff --git a/openembedded/ethernet.yaml b/openembedded/ethernet.yaml
index 3017c4b..c685116 100644
--- a/openembedded/ethernet.yaml
+++ b/openembedded/ethernet.yaml
@@ -11,13 +11,9 @@ metadata:
devices:
- rtsm_ve-armv8
-install:
- git-repos:
- - git://git.linaro.org/qa/test-definitions.git
-
run:
steps:
- - "cd test-definitions/openembedded/scripts"
+ - "cd openembedded/scripts"
- "./ethernet.sh"
parse:
diff --git a/openembedded/jtreg/exclude.txt b/openembedded/jtreg/exclude.txt
index 80dfc94..9cc7e44 100644
--- a/openembedded/jtreg/exclude.txt
+++ b/openembedded/jtreg/exclude.txt
@@ -1,10 +1,29 @@
+# Added: Fri Feb 7 2014
+# ----------------------
+gc/g1/TestHumongousCodeCacheRoots generic-all
+
+# Added: Wed Feb 5 2014
+# ----------------------
+compiler/regalloc/C1ObjectSpillInLogicOp.java generic-all
+gc/TestSystemGC.java generic-all
+gc/arguments/TestMaxNewSize.java generic-all
+gc/g1/TestHumongousAllocInitialMark.java generic-all
+runtime/8001071/Test8001071.java generic-all
+java/lang/management/MemoryMXBean/ResetPeakMemoryUsage.java generic-all
+
+# Added: Mon Feb 3 2014
+# ----------------------
+# The following tests fail on both the x86_64 baseline and on aarch64.
+compiler/7141637/SpreadNullArg.java generic-all
+compiler/jsr292/ConcurrentClassLoadingTest.java generic-all
+runtime/7107135/Test7107135.sh generic-all
+runtime/ClassFile/OomWhileParsingRepeatedJsr.java generic-all
+
# These tests all require the G1 Garbage Collector, which is not
# implemented in the aarch64-port. They are guaranteed to fail.
# Unfortunately, some of them run multiple tests with multiple garbage
# collectors, but as soon as they get to the G1 collector, they abort
# with an Unimplemented assertion.
-
-gc/7168848/HumongousAlloc.java generic-all
gc/8000311/Test8000311.java generic-all
gc/arguments/TestAlignmentToUseLargePages.java generic-all
gc/arguments/TestG1HeapRegionSize.java generic-all
@@ -15,7 +34,6 @@ gc/g1/TestPrintGCDetails.java generic-all
gc/g1/TestPrintRegionRememberedSetInfo.java generic-all
gc/g1/TestRegionAlignment.java generic-all
gc/g1/TestShrinkToOneRegion.java generic-all
-gc/g1/TestSummarizeRSetStats.java generic-all
gc/metaspace/G1AddMetaspaceDependency.java generic-all
gc/metaspace/TestMetaspacePerfCounters.java generic-all
gc/startup_warnings/TestG1.java generic-all
@@ -24,7 +42,6 @@ gc/TestG1ZeroPGCTJcmdThreadPrint.java generic-all
# I cranked up the timeout to -timeout:3 (3 times the expected) and
# still got timeout errors on the foundation model with the following
# tests:
-
compiler/5091921/Test6850611.java generic-all
compiler/5091921/Test6905845.java generic-all
compiler/5091921/Test6931567.java generic-all
@@ -37,9 +54,6 @@ compiler/7100757/Test7100757.java generic-all
compiler/7184394/TestAESMain.java generic-all
compiler/7196199/Test7196199.java generic-all
-# this test uses an option that is only accepted by a fastdebug build
-compiler/print/PrintInlining.java generic-all
-
# this test also fails on x86-64 reference; I suspect that this is a Java 8 issue
compiler/whitebox/IsMethodCompilableTest.java generic-all
@@ -55,12 +69,15 @@ runtime/InitialThreadOverflow/testme.sh generic-all
# also fails on x86-64 reference; suspect this is a Java 8 issue, since bad jar file in classpath is now rejected.
runtime/LoadClass/LoadClassNegative.java generic-all
-# There are also a couple of tests which time out on aarch64, which
-# could contribute to the overall job timeout:
-runtime/CDSCompressedKPtrs/CDSCompressedKPtrs.java generic-all
-runtime/CDSCompressedKPtrs/XShareAuto.java generic-all
-
# This collector is not implemented for server; for simplicity also ignoring on client tests.
gc/concurrentMarkSweep/CheckAllocateAndSystemGC.java generic-all
gc/concurrentMarkSweep/GuardShrinkWarning.java generic-all
gc/concurrentMarkSweep/SystemGCOnForegroundCollector.java generic-all
+
+# Removed: Mon Feb 3 2014
+# ------------------------
+# compiler/7116216/StackOverflow.java
+# compiler/print/PrintInlining.java
+# gc/g1/TestSummarizeRSetStats.java
+# runtime/CDSCompressedKPtrs/CDSCompressedKPtrs.java
+# runtime/CDSCompressedKPtrs/XShareAuto.java
diff --git a/openembedded/kernel-version.yaml b/openembedded/kernel-version.yaml
index efe2365..9a3826a 100644
--- a/openembedded/kernel-version.yaml
+++ b/openembedded/kernel-version.yaml
@@ -11,13 +11,9 @@ metadata:
devices:
- rtsm_ve-armv8
-install:
- git-repos:
- - git://git.linaro.org/qa/test-definitions.git
-
run:
steps:
- - "cd test-definitions/openembedded/scripts"
+ - "cd openembedded/scripts"
- "./kernel-version.sh"
parse:
diff --git a/openembedded/ltp-realtime.yaml b/openembedded/ltp-realtime.yaml
index f1bb1e5..9e32060 100644
--- a/openembedded/ltp-realtime.yaml
+++ b/openembedded/ltp-realtime.yaml
@@ -17,12 +17,10 @@ run:
steps:
- 'cd /opt/ltp'
- 'export LTP_REALTIME_TESTS_TO_RUN="func/async_handler func/gtod_latency func/hrtimer-prio func/matrix_mult func/measurement func/periodic_cpu_load func/pi_perf func/prio-preempt func/prio-wake func/pthread_kill_latency func/rt-migrate func/sched_football func/sched_jitter func/sched_latency func/thread_clock"'
- - 'for TEST_TO_RUN in ${LTP_REALTIME_TESTS_TO_RUN} ; do ./testscripts/test_realtime.sh -t $TEST_TO_RUN ; done'
- - 'for FILE in $(find testcases/realtime/logs -type f) ; do mv $FILE $(dirname $FILE)/$(echo $FILE | sed "s:.*2[0-9]*-[0-9]*-[0-9]*-::g"); done;'
- - 'grep -r Result: ./testcases/realtime/logs | sed "s:.*/::g"'
+ - 'for TEST_TO_RUN in ${LTP_REALTIME_TESTS_TO_RUN} ; do ./testscripts/test_realtime.sh -t $TEST_TO_RUN | /lava/tests/0_ltp-realtime/common/scripts/ltp-realtime2LAVA.py; done'
parse:
- pattern: "^(?P<test_case_id>.+).log:Result: (?P<result>.+)"
+ "pattern": "^test_case_id:(?P<test_case_id>.+)\\s+measurement:(?P<measurement>[\\d\\.]+)\\s+units:(?P<units>\\w+)\\s+result:(?P<result>\\w+)"
fixupdict:
FAIL: fail
PASS: pass
diff --git a/openembedded/ltp.yaml b/openembedded/ltp.yaml
index 9dc4c8f..446b31f 100644
--- a/openembedded/ltp.yaml
+++ b/openembedded/ltp.yaml
@@ -14,14 +14,14 @@ metadata:
- rtsm_ve-armv8
params:
- TST_CMDFILES: syscalls,mm,math,timers,fcntl-locktests,ipc,fsx,fs,hugetlb
+ TST_CMDFILES: syscalls,mm,math,timers,fcntl-locktests,ipc,fsx,fs,hugetlb,io,timers,nptl,pty,containers,fs_bind,filecaps,admin_tools,connectors
run:
steps:
- './openembedded/scripts/ltpfixup.sh $TST_CMDFILES'
parse:
- pattern: "^(?P<test_case_id>\\S+)\\s+(?P<result>\\w+)\\s+.+"
+ pattern: "^(?!.+ED)(?P<test_case_id>\\w+)\\s+(?P<result>\\w+)\\s+\\d$"
fixupdict:
FAIL: fail
PASS: pass
diff --git a/openembedded/mauve-setup.yaml b/openembedded/mauve-setup.yaml
index f8c72f0..7466551 100644
--- a/openembedded/mauve-setup.yaml
+++ b/openembedded/mauve-setup.yaml
@@ -18,5 +18,5 @@ install:
- git://git.linaro.org/leg/openjdk/mauve.git
run:
steps:
- - 'cp -a /lava/tests/$TESTRUN_ID/mauve $HOME'
+ - 'mv /lava/tests/$TESTRUN_ID/mauve $HOME'
- 'lava-test-case mauve-setup --result pass'
diff --git a/openembedded/mysql.yaml b/openembedded/mysql.yaml
index 654560e..b79460a 100644
--- a/openembedded/mysql.yaml
+++ b/openembedded/mysql.yaml
@@ -11,13 +11,9 @@ metadata:
devices:
- rtsm_ve-armv8
-install:
- git-repos:
- - git://git.linaro.org/qa/test-definitions.git
-
run:
steps:
- - "cd test-definitions/openembedded/scripts"
+ - "cd openembedded/scripts"
- "./mysql.sh"
parse:
diff --git a/openembedded/openjdk8-sanity.yaml b/openembedded/openjdk8-sanity.yaml
index dbe66b2..69a50fe 100644
--- a/openembedded/openjdk8-sanity.yaml
+++ b/openembedded/openjdk8-sanity.yaml
@@ -12,13 +12,9 @@ metadata:
devices:
- rtsm_ve-armv8
-install:
- git-repos:
- - git://git.linaro.org/qa/test-definitions.git
-
run:
steps:
- - 'cd test-definitions/openembedded/scripts'
+ - 'cd openembedded/scripts'
- 'PATH=/usr/lib/jvm/java-8-openjdk/bin:/usr/lib/jvm/java-8-openjdk/jre/bin:$PATH'
- './openjdk-version.sh 1.8'
diff --git a/openembedded/phpinfo.yaml b/openembedded/phpinfo.yaml
index 8243ed8..5fe9a36 100644
--- a/openembedded/phpinfo.yaml
+++ b/openembedded/phpinfo.yaml
@@ -9,13 +9,9 @@ metadata:
devices:
- rtsm_ve-armv8
-install:
- git-repos:
- - git://git.linaro.org/qa/test-definitions.git
-
run:
steps:
- - "cd test-definitions/openembedded/scripts"
+ - "cd openembedded/scripts"
- "./phpinfo.sh"
parse:
diff --git a/openembedded/phpmysql.yaml b/openembedded/phpmysql.yaml
index e1b561d..e249a3e 100644
--- a/openembedded/phpmysql.yaml
+++ b/openembedded/phpmysql.yaml
@@ -9,13 +9,9 @@ metadata:
devices:
- rtsm_ve-armv8
-install:
- git-repos:
- - git://git.linaro.org/qa/test-definitions.git
-
run:
steps:
- - "cd test-definitions/openembedded/scripts"
+ - "cd openembedded/scripts"
- "./phpmysql.sh"
parse:
diff --git a/openembedded/scripts/acpi-smoke-test.sh b/openembedded/scripts/acpi-smoke-test.sh
new file mode 100755
index 0000000..176c811
--- /dev/null
+++ b/openembedded/scripts/acpi-smoke-test.sh
@@ -0,0 +1,48 @@
+#! /bin/bash
+#
+# Test ACPI Support in UEFI on v7 and v8
+#
+# 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.
+#
+#
+DSDTPASS=
+echo -n "Testing presence of /sys/firmware/acpi: "
+if [ -d /sys/firmware/acpi ]; then
+ lava-test-case sys-firmware-acpi-present --result pass
+else
+ lava-test-case sys-firmware-acpi-present --result fail
+fi
+echo -n "Testing presence of /sys/firmware/acpi/tables/DSDT: "
+if [ -f /sys/firmware/acpi/tables/DSDT ]; then
+ lava-test-case sys-firmware-acpi-tables-DSDT --result pass
+ DSDTPASS=pass
+else
+ lava-test-case sys-firmware-acpi-tables-DSDT --result fail
+fi
+echo -n "Can decompile DSDT: "
+if [ -x /usr/bin/iasl -a -n "$DSDTPASS" ]; then
+ cp /sys/firmware/acpi/tables/DSDT /tmp/
+ ERROR=`/usr/bin/iasl -d /tmp/DSDT 2>&1 | grep DSDT.dsl`
+ if [ -n "$ERROR" ]; then
+ lava-test-case can-decompile-DSDT --result pass
+ else
+ lava-test-case can-decompile-DSDT --result fail
+ fi
+ rm /tmp/DSDT /tmp/DSDT.dsl
+else
+ lava-test-case can-decompile-DSDT --result skip
+fi
diff --git a/openembedded/sdkhelloc.yaml b/openembedded/sdkhelloc.yaml
index 3a96fe8..059d599 100644
--- a/openembedded/sdkhelloc.yaml
+++ b/openembedded/sdkhelloc.yaml
@@ -14,13 +14,9 @@ metadata:
- rtsm_fvp_base_cortex-a57x4-a53x4
- rtsm_fvp_base_cortex-a57x1-a53x1
-install:
- git-repos:
- - git://git.linaro.org/qa/test-definitions.git
-
run:
steps:
- - "cd test-definitions/openembedded/scripts"
+ - "cd openembedded/scripts"
- "./sdkhelloc.sh"
parse:
diff --git a/openembedded/sdkhellocxx.yaml b/openembedded/sdkhellocxx.yaml
index 61c00ce..11c9206 100644
--- a/openembedded/sdkhellocxx.yaml
+++ b/openembedded/sdkhellocxx.yaml
@@ -14,13 +14,9 @@ metadata:
- rtsm_fvp_base_cortex-a57x4-a53x4
- rtsm_fvp_base_cortex-a57x1-a53x1
-install:
- git-repos:
- - git://git.linaro.org/qa/test-definitions.git
-
run:
steps:
- - "cd test-definitions/openembedded/scripts"
+ - "cd openembedded/scripts"
- "./sdkhellocxx.sh"
parse:
diff --git a/openembedded/smoke-tests-basic.yaml b/openembedded/smoke-tests-basic.yaml
new file mode 100644
index 0000000..00a4c6f
--- /dev/null
+++ b/openembedded/smoke-tests-basic.yaml
@@ -0,0 +1,22 @@
+metadata:
+ format: Lava-Test Test Definition 1.0
+ name: smoke-tests-basic
+ description: "Basic system test command for Linaro OpenEmbedded images"
+ maintainer:
+ - dave.pigott@linaro.org
+ os:
+ - openembedded
+ scope:
+ - functional
+ devices:
+ - vexpress-tc2
+
+run:
+ steps:
+ - lava-test-case linux-linaro-openembedded-pwd --shell pwd
+ - lava-test-case linux-linaro-openembedded-uname --shell uname -a
+ - lava-test-case linux-linaro-openembedded-vmstat --shell vmstat
+ - lava-test-case linux-linaro-openembedded-ifconfig --shell ifconfig -a
+ - lava-test-case linux-linaro-openembedded-lscpu --shell lscpu
+ - lava-test-case linux-linaro-openembedded-lsusb --shell lsusb
+ - lava-test-case linux-linaro-openembedded-lsb_release --shell lsb_release -a
diff --git a/openembedded/toolchain.yaml b/openembedded/toolchain.yaml
index 7b3c97c..a68c7ad 100644
--- a/openembedded/toolchain.yaml
+++ b/openembedded/toolchain.yaml
@@ -11,13 +11,9 @@ metadata:
devices:
- rtsm_ve-armv8
-install:
- git-repos:
- - git://git.linaro.org/qa/test-definitions.git
-
run:
steps:
- - "cd test-definitions/openembedded/scripts"
+ - "cd openembedded/scripts"
- "./toolchain.sh"
parse: