diff options
| -rw-r--r-- | meta/lib/oeqa/runtime/parselogs.py | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/meta/lib/oeqa/runtime/parselogs.py b/meta/lib/oeqa/runtime/parselogs.py index 1baf660b27..431c436d62 100644 --- a/meta/lib/oeqa/runtime/parselogs.py +++ b/meta/lib/oeqa/runtime/parselogs.py | |||
| @@ -38,8 +38,17 @@ common_errors = [ | |||
| 38 | 'Online check failed for', | 38 | 'Online check failed for', |
| 39 | 'netlink init failed', | 39 | 'netlink init failed', |
| 40 | 'Fast TSC calibration', | 40 | 'Fast TSC calibration', |
| 41 | "BAR 0-9", | ||
| 42 | "Failed to load module \"ati\"", | ||
| 43 | "controller can't do DEVSLP, turning off", | ||
| 44 | "stmmac_dvr_probe: warning: cannot get CSR clock", | ||
| 45 | "error: couldn\'t mount because of unsupported optional features", | ||
| 41 | ] | 46 | ] |
| 42 | 47 | ||
| 48 | video_related = [ | ||
| 49 | "uvesafb", | ||
| 50 | ] | ||
| 51 | |||
| 43 | x86_common = [ | 52 | x86_common = [ |
| 44 | '[drm:psb_do_init] *ERROR* Debug is', | 53 | '[drm:psb_do_init] *ERROR* Debug is', |
| 45 | 'wrong ELF class', | 54 | 'wrong ELF class', |
| @@ -100,11 +109,7 @@ ignore_errors = { | |||
| 100 | '(EE) Failed to load module psbdrv', | 109 | '(EE) Failed to load module psbdrv', |
| 101 | '(EE) open /dev/fb0: No such file or directory', | 110 | '(EE) open /dev/fb0: No such file or directory', |
| 102 | '(EE) AIGLX: reverting to software rendering', | 111 | '(EE) AIGLX: reverting to software rendering', |
| 103 | "controller can't do DEVSLP, turning off", | ||
| 104 | ] + x86_common, | 112 | ] + x86_common, |
| 105 | 'intel-corei7-64' : [ | ||
| 106 | "controller can't do DEVSLP, turning off", | ||
| 107 | ] + common_errors, | ||
| 108 | 'crownbay' : x86_common, | 113 | 'crownbay' : x86_common, |
| 109 | 'genericx86' : x86_common, | 114 | 'genericx86' : x86_common, |
| 110 | 'genericx86-64' : x86_common, | 115 | 'genericx86-64' : x86_common, |
| @@ -127,6 +132,10 @@ class ParseLogsTest(oeRuntimeTest): | |||
| 127 | self.ignore_errors = ignore_errors | 132 | self.ignore_errors = ignore_errors |
| 128 | self.log_locations = log_locations | 133 | self.log_locations = log_locations |
| 129 | self.msg = "" | 134 | self.msg = "" |
| 135 | (is_lsb, location) = oeRuntimeTest.tc.target.run("which LSB_Test.sh") | ||
| 136 | if is_lsb == 0: | ||
| 137 | for machine in self.ignore_errors: | ||
| 138 | self.ignore_errors[machine] = self.ignore_errors[machine] + video_related | ||
| 130 | 139 | ||
| 131 | def getMachine(self): | 140 | def getMachine(self): |
| 132 | return oeRuntimeTest.tc.d.getVar("MACHINE", True) | 141 | return oeRuntimeTest.tc.d.getVar("MACHINE", True) |
| @@ -201,6 +210,7 @@ class ParseLogsTest(oeRuntimeTest): | |||
| 201 | ignore_error = ignore_error.replace("[", "\[") | 210 | ignore_error = ignore_error.replace("[", "\[") |
| 202 | ignore_error = ignore_error.replace("]", "\]") | 211 | ignore_error = ignore_error.replace("]", "\]") |
| 203 | ignore_error = ignore_error.replace("*", "\*") | 212 | ignore_error = ignore_error.replace("*", "\*") |
| 213 | ignore_error = ignore_error.replace("0-9", "[0-9]") | ||
| 204 | grepcmd += ignore_error+"|" | 214 | grepcmd += ignore_error+"|" |
| 205 | grepcmd = grepcmd[:-1] | 215 | grepcmd = grepcmd[:-1] |
| 206 | grepcmd += "\'" | 216 | grepcmd += "\'" |
