diff options
author | David Henningsson <david.henningsson@canonical.com> | 2014-09-04 16:21:26 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-09-04 16:32:12 +0200 |
commit | 4665283bb45de87425f6e61afd5ce68256d5ebcd (patch) | |
tree | 240e0c3932c829e48fcb2c4d869883ae5456ab5d | |
parent | a3ef352287ae8252de5190386b2b93ba4d366fa7 (diff) | |
download | hda-emu-4665283bb45de87425f6e61afd5ce68256d5ebcd.tar.gz |
hda-emu/tester: Fix calculation of machines
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@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rwxr-xr-x | tester/summary.py | 4 |
1 files changed, 3 insertions, 1 deletions
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 |