summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d47be7a)
raw | patch | inline | side by side (parent: d47be7a)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 25 Apr 2007 22:21:35 +0000 (22:21 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 25 Apr 2007 22:21:35 +0000 (22:21 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1701 f882894a-f735-0410-b71e-b25c423dba1c
tools/tinderbox_build | patch | blob | history |
diff --git a/tools/tinderbox_build b/tools/tinderbox_build
index 44e3dfe6a9efdcc4d8a934023d2a5c8cd5e71294..1ace2b030dfaa8a028bae30ae1dd3eaa47847921 100755 (executable)
--- a/tools/tinderbox_build
+++ b/tools/tinderbox_build
sub maketest {
# Tests
print LOG "LANG=C make test 2>&1\n";
- open( MAKE, "LANG=C make test 2>&1 |");
+ open( MAKE, "LANG=C make test && make install DESTDIR=/tmp/tinderbox_build.$$ && make install-strip DESTDIR=/tmp/tinderbox_build2.$$ 2>&1 |");
while ( <MAKE> ) {
print $_;
print LOG $_;
}
close( MAKE);
- return ! $?;
+ my $rc = $?;
+ system("rm -fr /tmp/tinderbox_build.$$ /tmp/tinderbox_build2.$$");
+ return ! $rc;
}
# Main function