summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2006-11-27 12:31:05 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2006-11-27 12:31:05 +0000
commit21172dafd82f973829caf9ccff13ca272d6b5ed1 (patch)
tree7b18c093c9aa10bf6e422b0e2bb0d31b6693ce94
parent2de7087342134aa007edeee40668762fcc884e72 (diff)
downloadATCD-21172dafd82f973829caf9ccff13ca272d6b5ed1.tar.gz
ChangeLogTag: Mon Nov 27 12:30:28 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
-rw-r--r--ACE/ChangeLog13
-rw-r--r--ACE/tests/Bug_2653_Regression_Test.cpp1
-rwxr-xr-xACE/tests/run_test.pl6
3 files changed, 19 insertions, 1 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog
index 60b36c83813..55624b8dbc3 100644
--- a/ACE/ChangeLog
+++ b/ACE/ChangeLog
@@ -1,3 +1,16 @@
+Mon Nov 27 12:30:28 UTC 2006 Chad Elliott <elliott_c@ociweb.com>
+
+ * tests/Bug_2653_Regression_Test.cpp:
+
+ When a thread is started, you must wait() on it before exiting the
+ process to avoid a core dump.
+
+ * tests/run_test.pl:
+
+ Print out the test header before checking for the executable. If
+ the executable is not there, it will appear as if the previous
+ test failed.
+
Mon Nov 27 08:45:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-sunos5.5.h:
diff --git a/ACE/tests/Bug_2653_Regression_Test.cpp b/ACE/tests/Bug_2653_Regression_Test.cpp
index 6735eab20e5..74b87288894 100644
--- a/ACE/tests/Bug_2653_Regression_Test.cpp
+++ b/ACE/tests/Bug_2653_Regression_Test.cpp
@@ -211,6 +211,7 @@ run_main (int, ACE_TCHAR *[])
wd.activate (THR_DETACHED);
test_for_spin(tp_reactor);
ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("Testing for spin\n")));
+ wd.wait ();
ACE_END_TEST;
return 0;
diff --git a/ACE/tests/run_test.pl b/ACE/tests/run_test.pl
index b7fc961454e..6b3a49fe7b3 100755
--- a/ACE/tests/run_test.pl
+++ b/ACE/tests/run_test.pl
@@ -107,6 +107,11 @@ sub run_program ($)
{
my $program = shift;
+ ## Print it out before we check for the executable
+ ## if the executable doesn't exist, the error will show
+ ## up as part of the previous test.
+ print "auto_run_tests: tests/$program\n";
+
unlink <log/$program*.log>;
unlink "core";
@@ -128,7 +133,6 @@ sub run_program ($)
}
}
- print "auto_run_tests: tests/$program\n";
my $start_time = time();
$status = $P->SpawnWaitKill (400);
my $time = time() - $start_time;