summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJiajun Xu <jiajun.xu@intel.com>2010-08-18 22:02:08 +0800
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 13:04:37 +0100
commit7303807ef13c0a02434941852530fecce8778619 (patch)
treeb7e0db2a3f1a8dbace7e1069fc87a09b5b406094 /scripts
parent192d6994cb56ca3d1e93780d8d2544e54440d356 (diff)
downloadpoky-7303807ef13c0a02434941852530fecce8778619.tar.gz
test: Add scenario file for each target and support single case running
Different test cases are needed for different targets. A folder "scenario" is created under scripts/qemuimage-tests to hold scenario files for different targets. Single case running is supported now. User can run single case together with a whole test suite by setting variable TEST_SCEN in local.conf. By default test cases in sanity suite will be ran. If you want to run other test suite or specific test case(e.g. bat or boot test case under sanity suite), list them like following. TEST_SCEN = "sanity bat sanity:boot" Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/qemuimage-tests/scenario/qemuarm/poky-image-minimal1
-rw-r--r--scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato2
-rw-r--r--scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk2
-rw-r--r--scripts/qemuimage-tests/scenario/qemumips/poky-image-minimal1
-rw-r--r--scripts/qemuimage-tests/scenario/qemumips/poky-image-sato2
-rw-r--r--scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk2
-rw-r--r--scripts/qemuimage-tests/scenario/qemuppc/poky-image-minimal1
-rw-r--r--scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato2
-rw-r--r--scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk2
-rw-r--r--scripts/qemuimage-tests/scenario/qemux86/poky-image-minimal1
-rw-r--r--scripts/qemuimage-tests/scenario/qemux86/poky-image-sato2
-rw-r--r--scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk2
12 files changed, 20 insertions, 0 deletions
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-minimal b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-minimal
new file mode 100644
index 0000000000..0fcc7bba84
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-minimal
@@ -0,0 +1 @@
sanity boot
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato
new file mode 100644
index 0000000000..95a091b741
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato
@@ -0,0 +1,2 @@
1sanity boot
2sanity ssh
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk
new file mode 100644
index 0000000000..95a091b741
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk
@@ -0,0 +1,2 @@
1sanity boot
2sanity ssh
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-minimal b/scripts/qemuimage-tests/scenario/qemumips/poky-image-minimal
new file mode 100644
index 0000000000..0fcc7bba84
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-minimal
@@ -0,0 +1 @@
sanity boot
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato
new file mode 100644
index 0000000000..95a091b741
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato
@@ -0,0 +1,2 @@
1sanity boot
2sanity ssh
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk
new file mode 100644
index 0000000000..95a091b741
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk
@@ -0,0 +1,2 @@
1sanity boot
2sanity ssh
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-minimal b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-minimal
new file mode 100644
index 0000000000..0fcc7bba84
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-minimal
@@ -0,0 +1 @@
sanity boot
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato
new file mode 100644
index 0000000000..95a091b741
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato
@@ -0,0 +1,2 @@
1sanity boot
2sanity ssh
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk
new file mode 100644
index 0000000000..95a091b741
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk
@@ -0,0 +1,2 @@
1sanity boot
2sanity ssh
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-minimal b/scripts/qemuimage-tests/scenario/qemux86/poky-image-minimal
new file mode 100644
index 0000000000..0fcc7bba84
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-minimal
@@ -0,0 +1 @@
sanity boot
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato
new file mode 100644
index 0000000000..95a091b741
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato
@@ -0,0 +1,2 @@
1sanity boot
2sanity ssh
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk
new file mode 100644
index 0000000000..95a091b741
--- /dev/null
+++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk
@@ -0,0 +1,2 @@
1sanity boot
2sanity ssh