[Piuparts-commits] rev 791 - trunk
Holger Levsen
holger at alioth.debian.org
Wed Nov 24 18:50:04 UTC 2010
Author: holger
Date: 2010-11-24 18:50:01 +0000 (Wed, 24 Nov 2010)
New Revision: 791
Modified:
trunk/piuparts.py
Log:
provide testobjects in scripts as $1
Modified: trunk/piuparts.py
===================================================================
--- trunk/piuparts.py 2010-11-24 18:46:55 UTC (rev 790)
+++ trunk/piuparts.py 2010-11-24 18:50:01 UTC (rev 791)
@@ -1121,7 +1121,7 @@
for file in list_scripts:
if file.startswith(step):
script = os.path.join("tmp/scripts", file)
- self.run([script])
+ self.run([script, settings.testobjects])
class VirtServ(Chroot):
@@ -2127,6 +2127,7 @@
logging.error("Need command line arguments: " +
"names of packages or package files")
exit = 1
+ settings.testobjects = args
if exit is not None:
sys.exit(exit)
More information about the Piuparts-commits
mailing list