Switch on *.cc tests for g++ ASan

Submitted by Slava Barinov on Aug. 8, 2017, 5:59 a.m.

Details

Message ID 20170808055907.18015-1-v.barinov@samsung.com
State New
Headers show

Commit Message

Slava Barinov Aug. 8, 2017, 5:59 a.m.
* g++.dg/asan/asan.exp: Switch on *.cc tests.

Signed-off-by: Slava Barinov <v.barinov@samsung.com>
---
 gcc/testsuite/ChangeLog            | 4 ++++
 gcc/testsuite/g++.dg/asan/asan.exp | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

Comments

Jeff Law Aug. 9, 2017, 4:27 p.m.
On 08/07/2017 11:59 PM, Slava Barinov wrote:
> 	* g++.dg/asan/asan.exp: Switch on *.cc tests.
> 
> Signed-off-by: Slava Barinov <v.barinov@samsung.com>
> ---
>  gcc/testsuite/ChangeLog            | 4 ++++
>  gcc/testsuite/g++.dg/asan/asan.exp | 2 +-
>  2 files changed, 5 insertions(+), 1 deletion(-)
Thanks.  Installed.

jeff

Patch hide | download patch | download mbox

diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c2119f478ba..315af8361df 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@ 
+2017-08-08  Vyacheslav Barinov  <v.barinov@samsung.com>
+
+	* g++.dg/asan/asan.exp: Switch on *.cc tests.
+
 2017-08-07  Michael Meissner  <meissner@linux.vnet.ibm.com>
 
 	PR target/81593
diff --git a/gcc/testsuite/g++.dg/asan/asan.exp b/gcc/testsuite/g++.dg/asan/asan.exp
index 124c44e9e9a..620071ba7dc 100644
--- a/gcc/testsuite/g++.dg/asan/asan.exp
+++ b/gcc/testsuite/g++.dg/asan/asan.exp
@@ -26,7 +26,7 @@  asan_init
 
 # Main loop.
 if [check_effective_target_fsanitize_address] {
-  gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.C $srcdir/c-c++-common/asan/*.c]] "" ""
+  gcc-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.C $srcdir/$subdir/*.cc $srcdir/c-c++-common/asan/*.c]] "" ""
 }
 
 # All done.