diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2013-04-03 08:14:06 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2013-04-03 08:14:06 +0000 |
commit | f07167d6cd93c4ef5013e105ff0099854d190d56 (patch) | |
tree | e81a0424b8ab0f20f9b93d4c35649d2cbdd29c14 /ACE | |
parent | 49283a5c325ce57ba2710f1e77819db93e73a6ba (diff) | |
download | ATCD-f07167d6cd93c4ef5013e105ff0099854d190d56.tar.gz |
Wed Apr 3 08:13:00 UTC 2013 Johnny Willemsen <jwillemsen@remedy.nl>
* bin/auto_run_tests.pl:
* tests/run_test.pl:
Set some additional variables that can be used with coverity
Diffstat (limited to 'ACE')
-rw-r--r-- | ACE/ChangeLog | 6 | ||||
-rwxr-xr-x | ACE/bin/auto_run_tests.pl | 3 | ||||
-rwxr-xr-x | ACE/tests/run_test.pl | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog index e5b0a0ac4d8..34694180698 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,9 @@ +Wed Apr 3 08:13:00 UTC 2013 Johnny Willemsen <jwillemsen@remedy.nl> + + * bin/auto_run_tests.pl: + * tests/run_test.pl: + Set some additional variables that can be used with coverity + Tue Apr 2 09:07:13 UTC 2013 Martin Corino <mcorino@remedy.nl> * ace/OS_NS_stdio.h: diff --git a/ACE/bin/auto_run_tests.pl b/ACE/bin/auto_run_tests.pl index c7f1caf093d..10b38b0b9a1 100755 --- a/ACE/bin/auto_run_tests.pl +++ b/ACE/bin/auto_run_tests.pl @@ -176,6 +176,9 @@ foreach my $test_lst (@file_list) { if (! $is_ace_test) { print "auto_run_tests: $test\n"; + $ENV{COVERITY_TEST_NAME} = $test; + $ENV{COVERITY_SUITE_NAME} = $test_lst; + $ENV{COVERITY_TEST_SOURCE} = "$directory/$program"; } my($orig_dir) = $directory; diff --git a/ACE/tests/run_test.pl b/ACE/tests/run_test.pl index 2a4b891baa7..cace3612950 100755 --- a/ACE/tests/run_test.pl +++ b/ACE/tests/run_test.pl @@ -115,6 +115,7 @@ 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"; my ($program, $dir, $suffix) = fileparse($path); my $start_dir = getcwd (); @@ -127,7 +128,6 @@ sub run_program ($@) unlink "core"; my $P = $target->CreateProcess($program, $arguments); - if ($config_list->check_config ('Valgrind')) { $P->IgnoreExeSubDir(1); } |