summaryrefslogtreecommitdiff
path: root/pactest/util.py
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-26 08:19:02 +0000
committerAaron Griffin <aaron@archlinux.org>2007-02-26 08:19:02 +0000
commit25223d679078dc756bbd8aea46f713259a4365ee (patch)
treef9775e7ac9e2f259d8dc4b2f86434264498276ba /pactest/util.py
parent4a75e42f124929d5e4d0d2e3f35869747227ba5f (diff)
downloadpacman-25223d679078dc756bbd8aea46f713259a4365ee.tar.xz
* corrected (IMO) --debug usage with pactest. --debug is now passed straight
through to pacman, whereas --verbose affects the pactest output - this cleans up the standard test output significantly * sorted tests a bit better, sectioning off failed tests AFTER successful tests, to make it easier to see what failed at a glance * added a 'testname' member to pmtest, which strips path info (cleaner output)
Diffstat (limited to 'pactest/util.py')
-rwxr-xr-xpactest/util.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/pactest/util.py b/pactest/util.py
index 94c5f5cf..a633e869 100755
--- a/pactest/util.py
+++ b/pactest/util.py
@@ -43,10 +43,7 @@ TMPDIR = "tmp"
SYNCREPO = "var/pub"
LOGFILE = "var/log/pactest.log"
-
verbose = 0
-debug = 1
-
def err(msg):
print "error: " + msg
@@ -56,11 +53,6 @@ def vprint(msg):
if verbose:
print msg
-def dbg(msg):
- if debug:
- print msg
-
-
#
# Methods to generate files
#