summaryrefslogtreecommitdiff
path: root/bin/auto_compile
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-11-05 19:21:07 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-11-05 19:21:07 +0000
commit94195ba3aa4ae7118f1f8aeb3fb891c9457ef9a8 (patch)
treec6e04a0573008960ae5e7d59ad9b91a475dc10ea /bin/auto_compile
parent4873e2f939ec7b2d43d5f220297922980a7014ff (diff)
downloadATCD-94195ba3aa4ae7118f1f8aeb3fb891c9457ef9a8.tar.gz
ChangeLogTag:Mon Nov 5 11:17:20 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'bin/auto_compile')
-rwxr-xr-xbin/auto_compile24
1 files changed, 24 insertions, 0 deletions
diff --git a/bin/auto_compile b/bin/auto_compile
index 74f268cb5cd..94e4ef95968 100755
--- a/bin/auto_compile
+++ b/bin/auto_compile
@@ -186,6 +186,12 @@ if ($#BUILD_LIST == -1) {
}
sub mydie {
+ my $DEST_DIR = $LOG_DESTINATION.'/'.$HOST.'_'.$BUILD;
+ mkdir $DEST_DIR,0755 if (!-d $DEST_DIR);
+ if (open(STATUS, '>'.$DEST_DIR.'/status.txt')) {
+ print STATUS "SCOREBOARD_STATUS: Inactive\n";
+ close STATUS;
+ }
unlink $disable_file;
die $_ . "\n";
}
@@ -312,6 +318,12 @@ LOG->autoflush ();
#}
print LOG "#################### CVS\n";
+my $DEST_DIR = $LOG_DESTINATION.'/'.$HOST.'_'.$BUILD;
+mkdir $DEST_DIR,0755 if !-d $DEST_DIR;
+if (open(STATUS, '>'.$DEST_DIR.'/status.txt')) {
+ print STATUS "SCOREBOARD_STATUS: CVS\n";
+ close STATUS;
+}
chdir($CHECKOUT)
|| mydie "Cannot chdir to $CHECKOUT";
@@ -364,6 +376,10 @@ if ($makefile_suffix ne "") {
}
print LOG "#################### Compiler\n";
+if (open(STATUS, '>'.$DEST_DIR.'/status.txt')) {
+ print STATUS "SCOREBOARD_STATUS: Compile\n";
+ close STATUS;
+}
if ($pre_realclean) {
foreach $i (@BUILD_LIST) {
@@ -459,6 +475,10 @@ foreach $i (@BUILD_LIST) {
}
print LOG "#################### Tests\n";
+if (open(STATUS, '>'.$DEST_DIR.'/status.txt')) {
+ print STATUS "SCOREBOARD_STATUS: Tests\n";
+ close STATUS;
+}
if ($dont_run == 0) {
my $config_params;
@@ -560,6 +580,10 @@ close (CONFIG)
report_errors @failures;
print LOG "#################### End\n";
+if (open(STATUS, '>'.$DEST_DIR.'/status.txt')) {
+ print STATUS "SCOREBOARD_STATUS: Inactive\n";
+ close STATUS;
+}
close(LOG)
|| mydie "cannot close LOGFILE";