summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-01-05 09:30:48 +0100
committerStefan Metzmacher <metze@samba.org>2011-01-05 14:29:54 +0100
commit0185f660c0557e716fd7491b6095349e1323c8a8 (patch)
tree31a37b8fe6c202084ee62337e64bc7eef0b7b2c7 /script
parent38c3e5894565fe3f078b459387e56ee352c66665 (diff)
downloadsamba-0185f660c0557e716fd7491b6095349e1323c8a8.tar.gz
script/autobuild.py: add pidl tests
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jan 5 14:29:54 CET 2011 on sn-devel-104
Diffstat (limited to 'script')
-rwxr-xr-xscript/autobuild.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/script/autobuild.py b/script/autobuild.py
index d62eb0ef93c..3b11b39b5e6 100755
--- a/script/autobuild.py
+++ b/script/autobuild.py
@@ -70,6 +70,14 @@ tasks = {
("test", "make test", "text/plain"),
("check-clean-tree", "../../script/clean-source-tree.sh", "text/plain"),
("clean", "make clean", "text/plain") ],
+
+ "pidl" : [ ("configure", "perl Makefile.PL PREFIX=${PREFIX_DIR}", "text/plain"),
+ ("touch", "touch *.yp", "text/plain"),
+ ("make", "make", "text/plain"),
+ ("test", "make test", "text/plain"),
+ ("install", "make install", "text/plain"),
+ ("check-clean-tree", "../script/clean-source-tree.sh", "text/plain"),
+ ("clean", "make clean", "text/plain") ],
}
retry_task = [ ( "retry",
@@ -138,6 +146,7 @@ class builder(object):
return
(self.stage, self.cmd, self.output_mime_type) = self.sequence[self.next]
self.cmd = self.cmd.replace("${PREFIX}", "--prefix=%s" % self.prefix)
+ self.cmd = self.cmd.replace("${PREFIX_DIR}", "%s" % self.prefix)
# if self.output_mime_type == "text/x-subunit":
# self.cmd += " | %s --immediate" % (os.path.join(os.path.dirname(__file__), "selftest/format-subunit"))
print '%s: [%s] Running %s' % (self.name, self.stage, self.cmd)