asan-dg.exp (asan_get_gtest_test_list, [...]): New procedures.
authorJakub Jelinek <jakub@redhat.com>
Mon, 3 Dec 2012 11:49:41 +0000 (12:49 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 3 Dec 2012 11:49:41 +0000 (12:49 +0100)
commit5c31da80bb95fca8006fe129913d49f71f581f01
tree24a63e8838ebe6bfaf4b32f1c3fe6f3cafb1f7ab
parentd9600ae5a32a0c136bdada6cbdd4d4209a63abf8
asan-dg.exp (asan_get_gtest_test_list, [...]): New procedures.

* lib/asan-dg.exp (asan_get_gtest_test_list,
asan_get_gtest_expect_death_list, asan-gtest): New procedures.
(proc ${tool}_load): Remember [asan_get_gtest_test_list "$output"]
and [asan_get_gtest_expect_death_list "$output"] in global vars.
(asan_symbolize): Sanitize [] characters from key.
* g++.dg/asan/asan_test_config.h: New file.
* g++.dg/asan/asan_globals_test.cc: New file.
* g++.dg/asan/asan_test_utils.h: New file.
* g++.dg/asan/dejagnu-gtest.h: New file.
* g++.dg/asan/asan_test.cc: New file.
* g++.dg/asan/asan_test.C: New test.

From-SVN: r194081
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/asan/asan_globals_test.cc [new file with mode: 0644]
gcc/testsuite/g++.dg/asan/asan_test.C [new file with mode: 0644]
gcc/testsuite/g++.dg/asan/asan_test.cc [new file with mode: 0644]
gcc/testsuite/g++.dg/asan/asan_test_config.h [new file with mode: 0644]
gcc/testsuite/g++.dg/asan/asan_test_utils.h [new file with mode: 0644]
gcc/testsuite/g++.dg/asan/dejagnu-gtest.h [new file with mode: 0644]
gcc/testsuite/lib/asan-dg.exp