diff options
| author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-09-19 13:18:06 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-22 12:19:41 +0100 |
| commit | d6529876129a6932b6d2e369b3fd6ca40d342add (patch) | |
| tree | 82b62115b0f4ba9701c823988472884c735872b7 /scripts/qemuimage-tests/tools/dmesg.sh | |
| parent | 595321a62669e90bed5f459a9d926a68988086a9 (diff) | |
| download | poky-d6529876129a6932b6d2e369b3fd6ca40d342add.tar.gz | |
classes/imagetest-qemu: remove old image testing class
This has now been superseded by testimage.
(From OE-Core rev: d469c92394a1a95ae7a45b8b80dc4c2918e0e9a6)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/qemuimage-tests/tools/dmesg.sh')
| -rw-r--r-- | scripts/qemuimage-tests/tools/dmesg.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/scripts/qemuimage-tests/tools/dmesg.sh b/scripts/qemuimage-tests/tools/dmesg.sh deleted file mode 100644 index f0c93181bd..0000000000 --- a/scripts/qemuimage-tests/tools/dmesg.sh +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | #!/bin/bash | ||
| 2 | # Dmesg test script running in QEMU | ||
| 3 | # | ||
| 4 | # Author: Jiajun Xu <jiajun.xu@intel.com> | ||
| 5 | # | ||
| 6 | # This file is licensed under the GNU General Public License, | ||
| 7 | # Version 2. | ||
| 8 | # | ||
| 9 | |||
| 10 | which dmesg | ||
| 11 | if [ $? -ne 0 ]; then | ||
| 12 | echo "QEMU: No dmesg command found" | ||
| 13 | exit 1 | ||
| 14 | fi | ||
| 15 | |||
| 16 | # For now, ignore mmci-pl18x errors on qemuarm which appeared | ||
| 17 | # from the 3.8 kernel and are harmless | ||
| 18 | dmesg | grep -v mmci-pl18x | grep -iq "error" | ||
| 19 | if [ $? -eq 0 ]; then | ||
| 20 | echo "QEMU: There is some error log in dmesg:" | ||
| 21 | echo "QEMU: ##### Error Log ######" | ||
| 22 | dmesg | grep -i "error" | ||
| 23 | echo "QEMU: ##### End ######" | ||
| 24 | exit 1 | ||
| 25 | else | ||
| 26 | echo "QEMU: No error log in dmesg" | ||
| 27 | exit 0 | ||
| 28 | fi | ||
