summaryrefslogtreecommitdiff
path: root/bin/auto_run_tests.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/auto_run_tests.pl')
-rwxr-xr-xbin/auto_run_tests.pl7
1 files changed, 5 insertions, 2 deletions
diff --git a/bin/auto_run_tests.pl b/bin/auto_run_tests.pl
index af7edf90721..7eecf4a1c4c 100755
--- a/bin/auto_run_tests.pl
+++ b/bin/auto_run_tests.pl
@@ -8,6 +8,9 @@ eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
# auto_run_tests.lst.
use lib "$ENV{ACE_ROOT}/bin";
+if (defined $ENV{srcdir}) {
+ use lib "$ENV{srcdir}/bin";
+}
use PerlACE::Run_Test;
use English;
@@ -60,8 +63,8 @@ push (@file_list, "/bin/tao_other_tests.lst");
if (scalar(@file_list) == 0) {
push (@file_list, "/bin/ace_tests.lst");
-push (@file_list, "/bin/tao_orb_tests.lst");
-push (@file_list, "/bin/tao_other_tests.lst");
+push (@file_list, "/bin/tao_orb_tests.lst") if -d "$ACE_ROOT/TAO";
+push (@file_list, "/bin/tao_other_tests.lst") if -d "$ACE_ROOT/TAO";
}
foreach my$test_lst (@file_list) {