[alsa-devel] [PATCH 4/4] hda-emu/tester: Fix calculation of machines
David Henningsson
david.henningsson at canonical.com
Thu Sep 4 16:21:26 CEST 2014
Previously, if a machine had a modem codec, it was not included
in the total count of machines.
Signed-off-by: David Henningsson <david.henningsson at canonical.com>
---
tester/summary.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tester/summary.py b/tester/summary.py
index 640d1c1..4bf53b6 100755
--- a/tester/summary.py
+++ b/tester/summary.py
@@ -90,7 +90,9 @@ def main():
if line.find("is a modem codec, aborting"):
skip_this = True
- if (not skip_this) and (r.errors > 0 or r.warnings > 0):
+ if skip_this:
+ skip_this = False
+ elif (r.errors > 0 or r.warnings > 0):
fail_this = True
errors += r.errors
warnings += r.warnings
--
1.9.1
More information about the Alsa-devel
mailing list