From 7303807ef13c0a02434941852530fecce8778619 Mon Sep 17 00:00:00 2001 From: Jiajun Xu Date: Wed, 18 Aug 2010 22:02:08 +0800 Subject: 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 --- scripts/qemuimage-tests/scenario/qemuarm/poky-image-minimal | 1 + scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato | 2 ++ scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk | 2 ++ scripts/qemuimage-tests/scenario/qemumips/poky-image-minimal | 1 + scripts/qemuimage-tests/scenario/qemumips/poky-image-sato | 2 ++ scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk | 2 ++ scripts/qemuimage-tests/scenario/qemuppc/poky-image-minimal | 1 + scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato | 2 ++ scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk | 2 ++ scripts/qemuimage-tests/scenario/qemux86/poky-image-minimal | 1 + scripts/qemuimage-tests/scenario/qemux86/poky-image-sato | 2 ++ scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk | 2 ++ 12 files changed, 20 insertions(+) create mode 100644 scripts/qemuimage-tests/scenario/qemuarm/poky-image-minimal create mode 100644 scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato create mode 100644 scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk create mode 100644 scripts/qemuimage-tests/scenario/qemumips/poky-image-minimal create mode 100644 scripts/qemuimage-tests/scenario/qemumips/poky-image-sato create mode 100644 scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk create mode 100644 scripts/qemuimage-tests/scenario/qemuppc/poky-image-minimal create mode 100644 scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato create mode 100644 scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk create mode 100644 scripts/qemuimage-tests/scenario/qemux86/poky-image-minimal create mode 100644 scripts/qemuimage-tests/scenario/qemux86/poky-image-sato create mode 100644 scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk (limited to 'scripts/qemuimage-tests/scenario') 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 @@ +sanity boot +sanity 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 @@ +sanity boot +sanity 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 @@ +sanity boot +sanity 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 @@ +sanity boot +sanity 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 @@ +sanity boot +sanity 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 @@ +sanity boot +sanity 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 @@ +sanity boot +sanity 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 @@ +sanity boot +sanity ssh -- cgit v1.2.3