chi2_quality.cc: Use C++0x mode on simulators.
2011-02-28 Benjamin Kosnik <bkoz@redhat.com> * testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators. * testsuite/20_util/hash/quality.cc: Same. From-SVN: r170584
This commit is contained in:
parent
ce709321b5
commit
62c8d7223e
|
@ -1,3 +1,8 @@
|
||||||
|
2011-02-28 Benjamin Kosnik <bkoz@redhat.com>
|
||||||
|
|
||||||
|
* testsuite/20_util/hash/chi2_quality.cc: Use C++0x mode on simulators.
|
||||||
|
* testsuite/20_util/hash/quality.cc: Same.
|
||||||
|
|
||||||
2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
|
2011-02-28 Paolo Carlini <paolo.carlini@oracle.com>
|
||||||
|
|
||||||
PR libstdc++/47921
|
PR libstdc++/47921
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
// { dg-options "-std=gnu++0x" }
|
// { dg-options "-std=gnu++0x" }
|
||||||
|
|
||||||
// Copyright (C) 2010 Free Software Foundation, Inc.
|
// Use smaller statistics when running on simulators, so it takes less time.
|
||||||
|
// { dg-options "-std=gnu++0x -DSAMPLES=10000" { target simulator } }
|
||||||
|
|
||||||
|
// Copyright (C) 2010, 2011 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
// software; you can redistribute it and/or modify it under the
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -48,8 +51,6 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <testsuite_hooks.h>
|
#include <testsuite_hooks.h>
|
||||||
|
|
||||||
// Use smaller statistics when running on simulators, so it takes less time.
|
|
||||||
// { dg-options "-DSAMPLES=10000" { target simulator } }
|
|
||||||
#ifndef SAMPLES
|
#ifndef SAMPLES
|
||||||
#define SAMPLES 300000
|
#define SAMPLES 300000
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
// { dg-options "-std=gnu++0x" }
|
// { dg-options "-std=gnu++0x" }
|
||||||
|
// { dg-options "-DNTESTS=1 -DNSTRINGS=100 -DSTRSIZE=21 -std=gnu++0x" { target simulator } }
|
||||||
|
|
||||||
// Copyright (C) 2010 Free Software Foundation, Inc.
|
// Copyright (C) 2010, 2011 Free Software Foundation, Inc.
|
||||||
//
|
//
|
||||||
// This file is part of the GNU ISO C++ Library. This library is free
|
// This file is part of the GNU ISO C++ Library. This library is free
|
||||||
// software; you can redistribute it and/or modify it under the
|
// software; you can redistribute it and/or modify it under the
|
||||||
|
@ -26,7 +27,6 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
// { dg-options "-DNTESTS=1 -DNSTRINGS=100 -DSTRSIZE=21" { target simulator } }
|
|
||||||
#ifndef NTESTS
|
#ifndef NTESTS
|
||||||
#define NTESTS 5
|
#define NTESTS 5
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue