summaryrefslogtreecommitdiff
path: root/test/pacman/pmenv.py
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2013-08-01 22:51:24 -0400
committerAllan McRae <allan@archlinux.org>2013-08-21 11:00:18 +1000
commit429b956fb2d21309cae0560d6d98225969447737 (patch)
tree027cf0acfea67d349edf77a385ac912060f68fc0 /test/pacman/pmenv.py
parentd3726bbd26769b1ab7cdbedda109db31bdfb0f78 (diff)
pactest: treat unknown rules as failures
Tests should only be skipped when they aren't relevant, not when the test itself is bad. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'test/pacman/pmenv.py')
-rw-r--r--test/pacman/pmenv.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/pacman/pmenv.py b/test/pacman/pmenv.py
index 9a88262e..5eaa473c 100644
--- a/test/pacman/pmenv.py
+++ b/test/pacman/pmenv.py
@@ -110,9 +110,8 @@ class pmenv(object):
else:
result = "[FAIL]"
print result,
- print "%s Rules: OK = %2u FAIL = %2u SKIP = %2u" \
- % (t.testname.ljust(34), success, fail, \
- rules - (success + fail))
+ print "%s Rules: OK = %2u FAIL = %2u" \
+ % (t.testname.ljust(34), success, fail)
if fail != 0:
# print test description if test failed
print " ", t.description