Patchwork [v3] Actually run some tests in parallel-mode for check-parallel

login
register
mail settings
Submitter Paolo Carlini
Date April 17, 2011, 11:18 p.m.
Message ID <4DAB753F.20106@oracle.com>
Download mbox | patch
Permalink /patch/91602/
State New
Headers show

Comments

Paolo Carlini - April 17, 2011, 11:18 p.m.
... looks like I missed std::partitition. Tested x86_64-linux 
parallel-mode, committed to mainline.

Paolo.

//////////////////
2011-04-17  Paolo Carlini  <paolo.carlini@oracle.com>

	* testsuite/25_algorithms/partition/moveable.cc: Actually run
	it in parallel-mode for check-parallel.

Patch

Index: testsuite/25_algorithms/partition/moveable.cc
===================================================================
--- testsuite/25_algorithms/partition/moveable.cc	(revision 172618)
+++ testsuite/25_algorithms/partition/moveable.cc	(working copy)
@@ -1,6 +1,6 @@ 
 // { dg-options "-std=gnu++0x" }
 
-// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010
+// Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011
 // Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
@@ -22,10 +22,6 @@ 
 
 #undef _GLIBCXX_CONCEPT_CHECKS
 
-// XXX FIXME:  parallel-mode should deal correctly with moveable-only types
-// per C++0x, at minimum smoothly fall back to serial.
-#undef _GLIBCXX_PARALLEL
-
 #include <algorithm>
 #include <functional>
 #include <testsuite_hooks.h>