[pacman-dev] [PATCH 2/4] remove unused test summary code

Andrew Gregory andrew.gregory.8 at gmail.com
Sun Dec 23 06:24:39 UTC 2018


Unused since 12e00af5315135a29a66c9aaa01e141a32d4634b

Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
---
 test/pacman/pactest.py | 3 ---
 test/pacman/pmenv.py   | 5 -----
 2 files changed, 8 deletions(-)

diff --git a/test/pacman/pactest.py b/test/pacman/pactest.py
index 85cce6a1..a563fa72 100755
--- a/test/pacman/pactest.py
+++ b/test/pacman/pactest.py
@@ -160,6 +160,3 @@ def create_parser():
         shutil.rmtree(root_path)
     else:
         tap.diag("pacman testing root saved: %s" % root_path)
-
-    if env.failed > 0:
-        sys.exit(1)
diff --git a/test/pacman/pmenv.py b/test/pacman/pmenv.py
index f1d626d3..9e6b5625 100644
--- a/test/pacman/pmenv.py
+++ b/test/pacman/pmenv.py
@@ -24,12 +24,7 @@
 class pmenv(object):
     """Environment object
     """
-
     testcases = []
-    passed = 0
-    failed = 0
-    expectedfail = 0
-    unexpectedpass = 0
 
     def __init__(self, root = "root"):
         self.root = os.path.abspath(root)
-- 
2.19.2


More information about the pacman-dev mailing list