diff mbox

Fix for PR59369

Message ID 52A0205B.7040300@samsung.com
State New
Headers show

Commit Message

Yury Gribov Dec. 5, 2013, 6:42 a.m. UTC
Hi,

This patch fixes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59369 by 
disabling Linux-specific test on non-Linux platforms. Tested on 
x86_64-apple-darwin.

Ok to commit?

-Y
2013-12-05  Yury Gribov  <y.gribov@samsung.com>

	PR sanitizer/59369
	* c-c++-common/asan/pr59063-1.c: Disable on non-Linux platforms.
	* c-c++-common/asan/pr59063-2.c: Likewise.

Comments

Jakub Jelinek Dec. 5, 2013, 8:20 a.m. UTC | #1
On Thu, Dec 05, 2013 at 10:42:35AM +0400, Yury Gribov wrote:
> This patch fixes http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59369
> by disabling Linux-specific test on non-Linux platforms. Tested on
> x86_64-apple-darwin.
> 
> Ok to commit?

Ok, thanks.

> 2013-12-05  Yury Gribov  <y.gribov@samsung.com>
> 
> 	PR sanitizer/59369
> 	* c-c++-common/asan/pr59063-1.c: Disable on non-Linux platforms.
> 	* c-c++-common/asan/pr59063-2.c: Likewise.

	Jakub
Yury Gribov Dec. 5, 2013, 10:01 a.m. UTC | #2
Fixed in r205699.
diff mbox

Patch

diff --git a/gcc/testsuite/c-c++-common/asan/pr59063-1.c b/gcc/testsuite/c-c++-common/asan/pr59063-1.c
index a4e01f7..a22db6a 100644
--- a/gcc/testsuite/c-c++-common/asan/pr59063-1.c
+++ b/gcc/testsuite/c-c++-common/asan/pr59063-1.c
@@ -1,4 +1,4 @@ 
-/* { dg-do run } */
+/* { dg-do run { target { *-*-linux* } } } */
 
 #include <time.h>
 static int weak_gettime (clockid_t clk_id, struct timespec *tp)
diff --git a/gcc/testsuite/c-c++-common/asan/pr59063-2.c b/gcc/testsuite/c-c++-common/asan/pr59063-2.c
index 64354ea..759b7f2 100644
--- a/gcc/testsuite/c-c++-common/asan/pr59063-2.c
+++ b/gcc/testsuite/c-c++-common/asan/pr59063-2.c
@@ -1,4 +1,4 @@ 
-/* { dg-do run } */
+/* { dg-do run { target { *-*-linux* } } } */
 /* { dg-options "-static-libasan" } */
 
 #include <time.h>