[pacman-dev] CVS update of pacman-lib/pactest (pactest.py pmenv.py)

Aaron Griffin aaron at archlinux.org
Fri Feb 23 00:11:43 EST 2007


    Date: Friday, February 23, 2007 @ 00:11:43
  Author: aaron
    Path: /home/cvs-pacman/pacman-lib/pactest

Modified: pactest.py (1.6 -> 1.7) pmenv.py (1.3 -> 1.4)


------------+
 pactest.py |    1 +
 pmenv.py   |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)


Index: pacman-lib/pactest/pactest.py
diff -u pacman-lib/pactest/pactest.py:1.6 pacman-lib/pactest/pactest.py:1.7
--- pacman-lib/pactest/pactest.py:1.6	Thu Feb 22 23:54:49 2007
+++ pacman-lib/pactest/pactest.py	Fri Feb 23 00:11:43 2007
@@ -40,6 +40,7 @@
         globlist += glob.glob(parser.rargs[idx])
         idx += 1
 
+    print "tests: %s" % globlist
     parser.rargs = parser.rargs[idx:]
     setattr(parser.values, option.dest, globlist)
 
Index: pacman-lib/pactest/pmenv.py
diff -u pacman-lib/pactest/pmenv.py:1.3 pacman-lib/pactest/pmenv.py:1.4
--- pacman-lib/pactest/pmenv.py:1.3	Wed Feb 21 02:13:16 2007
+++ pacman-lib/pactest/pmenv.py	Fri Feb 23 00:11:43 2007
@@ -59,7 +59,7 @@
 
         for t in self.testcases:
             print "=========="*8
-            print "Running '%s'" % t.name.strip(".py")
+            print "Running '%s'" % t.name.replace(".py", "")
 
             t.load()
             print t.description




More information about the pacman-dev mailing list