-#! /usr/bin/python
+#! /usr/bin/python2
#
# Copyright (c) 2006 by Aurelien Foret <orelien@chez.com>
-#
+# Copyright (c) 2006-2013 Pacman Developmet Team <pacman-dev@archlinux.org>
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
print t.description
print "----------"*8
- t.generate()
+ t.generate(self.pacman)
t.run(self.pacman)
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