diff options
author | Jiajun Xu <jiajun.xu@intel.com> | 2011-01-19 00:22:30 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-20 21:36:57 +0000 |
commit | 3e052919c9307ba73a1db0f705b7dc1a677cb80f (patch) | |
tree | 14861629035fb78eaae19645801f49a608536ecf /scripts/qemuimage-tests/scenario | |
parent | 50b208612945c638e3f4965ebf90ade4aac5b636 (diff) | |
download | poky-3e052919c9307ba73a1db0f705b7dc1a677cb80f.tar.gz |
qemuimagetest: Use same image during sanity testing instead of copying a new image for each case
To reduce the time on sanity testing, we remove variable SHARE_IMAGE and use
a new variable TEST_SERIALIZE in local.conf. It is by default set to 1. Poky
will copy and boot the to-be tested image for only once. It will not remove
or kill the image and test cases will be serialized executed against the same
image. If it is set to 0, image is always be copied for each cases, which takes
much time. I had a experiment that latest qemuppc sato only takes 7 minutes to
finish 9 sanity test cases, which takes more than 20 minutes before.
I also removed sanity case "boot" from sato/sdk/lsb because the other cases for
these targets already cover the check point of "boot".
Signed-off-by Jiajun Xu <jiajun.xu@intel.com>
Diffstat (limited to 'scripts/qemuimage-tests/scenario')
15 files changed, 15 insertions, 30 deletions
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb index 0eb1926cfd..4fa6068768 100644 --- a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb +++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-lsb | |||
@@ -1,8 +1,7 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
6 | sanity zypper_help | 4 | sanity zypper_help |
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
7 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato index b60a89af51..7a6353e1af 100644 --- a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato +++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sato | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -7,3 +5,4 @@ sanity zypper_help | |||
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity connman | 7 | sanity connman |
8 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk index 53c9ad591e..42b8e19026 100644 --- a/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk +++ b/scripts/qemuimage-tests/scenario/qemuarm/poky-image-sdk | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -8,3 +6,4 @@ sanity zypper_search | |||
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity compiler | 7 | sanity compiler |
10 | sanity connman | 8 | sanity connman |
9 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb index 0eb1926cfd..4fa6068768 100644 --- a/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb +++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-lsb | |||
@@ -1,8 +1,7 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
6 | sanity zypper_help | 4 | sanity zypper_help |
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
7 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato index b60a89af51..7a6353e1af 100644 --- a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato +++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sato | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -7,3 +5,4 @@ sanity zypper_help | |||
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity connman | 7 | sanity connman |
8 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk index 53c9ad591e..42b8e19026 100644 --- a/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk +++ b/scripts/qemuimage-tests/scenario/qemumips/poky-image-sdk | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -8,3 +6,4 @@ sanity zypper_search | |||
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity compiler | 7 | sanity compiler |
10 | sanity connman | 8 | sanity connman |
9 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb index 0eb1926cfd..4fa6068768 100644 --- a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb +++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-lsb | |||
@@ -1,8 +1,7 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
6 | sanity zypper_help | 4 | sanity zypper_help |
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
7 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato index b60a89af51..7a6353e1af 100644 --- a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato +++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sato | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -7,3 +5,4 @@ sanity zypper_help | |||
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity connman | 7 | sanity connman |
8 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk index 53c9ad591e..42b8e19026 100644 --- a/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk +++ b/scripts/qemuimage-tests/scenario/qemuppc/poky-image-sdk | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -8,3 +6,4 @@ sanity zypper_search | |||
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity compiler | 7 | sanity compiler |
10 | sanity connman | 8 | sanity connman |
9 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb index 0eb1926cfd..4fa6068768 100644 --- a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb +++ b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-lsb | |||
@@ -1,8 +1,7 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
6 | sanity zypper_help | 4 | sanity zypper_help |
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
7 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato index b60a89af51..7a6353e1af 100644 --- a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato +++ b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sato | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -7,3 +5,4 @@ sanity zypper_help | |||
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity connman | 7 | sanity connman |
8 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk index 53c9ad591e..42b8e19026 100644 --- a/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk +++ b/scripts/qemuimage-tests/scenario/qemux86-64/poky-image-sdk | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -8,3 +6,4 @@ sanity zypper_search | |||
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity compiler | 7 | sanity compiler |
10 | sanity connman | 8 | sanity connman |
9 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb b/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb index 0eb1926cfd..4fa6068768 100644 --- a/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb +++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-lsb | |||
@@ -1,8 +1,7 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
6 | sanity zypper_help | 4 | sanity zypper_help |
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
7 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato index b60a89af51..7a6353e1af 100644 --- a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato +++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sato | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -7,3 +5,4 @@ sanity zypper_help | |||
7 | sanity zypper_search | 5 | sanity zypper_search |
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity connman | 7 | sanity connman |
8 | sanity shutdown | ||
diff --git a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk index 53c9ad591e..42b8e19026 100644 --- a/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk +++ b/scripts/qemuimage-tests/scenario/qemux86/poky-image-sdk | |||
@@ -1,5 +1,3 @@ | |||
1 | sanity shutdown | ||
2 | sanity boot | ||
3 | sanity ssh | 1 | sanity ssh |
4 | sanity scp | 2 | sanity scp |
5 | sanity dmesg | 3 | sanity dmesg |
@@ -8,3 +6,4 @@ sanity zypper_search | |||
8 | sanity rpm_query | 6 | sanity rpm_query |
9 | sanity compiler | 7 | sanity compiler |
10 | sanity connman | 8 | sanity connman |
9 | sanity shutdown | ||