From 0185f660c0557e716fd7491b6095349e1323c8a8 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 5 Jan 2011 09:30:48 +0100 Subject: script/autobuild.py: add pidl tests metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Wed Jan 5 14:29:54 CET 2011 on sn-devel-104 --- script/autobuild.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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) -- cgit v1.2.1