diff options
Diffstat (limited to 'flat/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/run_test.pl')
-rwxr-xr-x | flat/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/run_test.pl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/flat/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/run_test.pl b/flat/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/run_test.pl index 2ac8a0613bb..27b9f7987e8 100755 --- a/flat/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/run_test.pl +++ b/flat/CIAO/DAnCE/tests/CIAO/NodeManager-Deployments/run_test.pl @@ -69,9 +69,14 @@ sub run_node_daemons { return 0; } -opendir(DIR, "."); -@files = grep(/\.cdp$/,readdir(DIR)); -closedir(DIR); +if ($#ARGV == -1) +{ + opendir(DIR, "."); + @files = grep(/\.cdp$/,readdir(DIR)); + closedir(DIR); +} else { + @files = @ARGV; +} foreach $file (@files) { delete_ior_files (); |