summaryrefslogtreecommitdiff
path: root/ACE/tests/run_test.pl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2014-02-25 09:31:17 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2014-02-25 09:31:17 +0000
commite7a18511025682762e993022d6cd679cc9bbfd05 (patch)
tree53b0affd38ca3aba415e64a7134231eab12d7541 /ACE/tests/run_test.pl
parent376298259c8953213a59d24c04e98a312b94611c (diff)
downloadATCD-e7a18511025682762e993022d6cd679cc9bbfd05.tar.gz
Tue Feb 25 09:32:15 UTC 2014 Johnny Willemsen <jwillemsen@remedy.nl>
* bin/auto_run_tests.pl: * tests/run_test.pl: Changed the way we enable coverity test separation, introduced new Coverity test config instead of commandline option
Diffstat (limited to 'ACE/tests/run_test.pl')
-rwxr-xr-xACE/tests/run_test.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/ACE/tests/run_test.pl b/ACE/tests/run_test.pl
index a3f400f60b3..98c2f521386 100755
--- a/ACE/tests/run_test.pl
+++ b/ACE/tests/run_test.pl
@@ -115,7 +115,9 @@ sub run_program ($@)
## if the executable doesn't exist, the error will show
## up as part of the previous test.
print "auto_run_tests: tests/$path $arguments\n";
- #$ENV{COVERITY_TEST_NAME} = "tests/$path";
+ if ($config_list->check_config ('Coverity')) {
+ $ENV{COVERITY_TEST_NAME} = "tests/$path";
+ }
my ($program, $dir, $suffix) = fileparse($path);
my $start_dir = getcwd ();
@@ -409,7 +411,7 @@ if (!getopts ('dhtvo:l:') || $opt_h) {
print "\n";
print "Pass in configs using \"-Config XXXXX\"\n";
print "\n";
- print "Possible Configs: CHECK_RESOURCES Purify Codeguard Valgrind ",
+ print "Possible Configs: CHECK_RESOURCES Purify Codeguard Valgrind Coverity ",
$config_list->list_configs (), "\n";
exit (1);
}