Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest/pmtest.py
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-07-24 21:42:27 -0500
committerDan McGee <dan@archlinux.org>2008-07-24 22:16:29 -0500
commit9f57921467ea368be96ffc09c8c35e9acfcc41ed (patch)
tree4e043260b7d26f13d99c210c89d562a14011add9 /pactest/pmtest.py
parent7bc34ccde3b8860a4aaf8418996a72e8cc4dfae5 (diff)
pactest: add test.expectfailure option for tests
This will enable us to mark tests we know currently fail to differentiate them from those that we know should pass. Regressions should be easier to spot this way. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/pmtest.py')
-rwxr-xr-xpactest/pmtest.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pactest/pmtest.py b/pactest/pmtest.py
index e8f6fa8d..f31563b1 100755
--- a/pactest/pmtest.py
+++ b/pactest/pmtest.py
@@ -90,6 +90,7 @@ class pmtest:
# Test rules
self.rules = []
self.files = []
+ self.expectfailure = False
if os.path.isfile(self.name):
execfile(self.name)