Patchwork [v3] Add a few missing dg-require* in 30_threads

login
register
mail settings
Submitter Paolo Carlini
Date Nov. 24, 2010, 10:10 a.m.
Message ID <4CECE4AD.1010700@oracle.com>
Download mbox | patch
Permalink /patch/72827/
State New
Headers show

Comments

Paolo Carlini - Nov. 24, 2010, 10:10 a.m.
Hi,

noticed while regtesting on darwin. Committed to mainline.

Paolo.

/////////////
2010-11-24  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/30_threads/future/cons/constexpr.cc: Add dg-require*
	directives.
	* testsuite/30_threads/shared_future/cons/constexpr.cc: Likewise.

Patch

Index: testsuite/30_threads/shared_future/cons/constexpr.cc
===================================================================
--- testsuite/30_threads/shared_future/cons/constexpr.cc	(revision 167108)
+++ testsuite/30_threads/shared_future/cons/constexpr.cc	(working copy)
@@ -1,5 +1,8 @@ 
 // { dg-do compile }
 // { dg-options "-std=gnu++0x -fno-inline -save-temps" }
+// { dg-require-cstdint "" }
+// { dg-require-gthreads "" }
+// { dg-require-atomic-builtins "" }
 // { dg-final { scan-assembler-not "_ZNSt13shared_futureIvEC2Ev" } }
 // { dg-final { scan-assembler-not "_ZNSt13shared_futureIiEC2Ev" } }
 
Index: testsuite/30_threads/future/cons/constexpr.cc
===================================================================
--- testsuite/30_threads/future/cons/constexpr.cc	(revision 167108)
+++ testsuite/30_threads/future/cons/constexpr.cc	(working copy)
@@ -1,5 +1,8 @@ 
 // { dg-do compile }
 // { dg-options "-std=gnu++0x -fno-inline -save-temps" }
+// { dg-require-cstdint "" }
+// { dg-require-gthreads "" }
+// { dg-require-atomic-builtins "" }
 // { dg-final { scan-assembler-not "_ZNSt6futureIvEC2Ev" } }
 // { dg-final { scan-assembler-not "_ZNSt6futureIiEC2Ev" } }