Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 79801 invoked from network); 26 Mar 2008 02:29:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2008 02:29:07 -0000 Received: (qmail 79203 invoked by uid 500); 26 Mar 2008 02:29:06 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 79172 invoked by uid 500); 26 Mar 2008 02:29:06 -0000 Mailing-List: contact commits-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list commits@stdcxx.apache.org Received: (qmail 79163 invoked by uid 99); 26 Mar 2008 02:29:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Mar 2008 19:29:06 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 02:28:34 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id E75891A9832; Tue, 25 Mar 2008 19:28:45 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r641116 - /stdcxx/trunk/tests/self/0.new.cpp Date: Wed, 26 Mar 2008 02:28:45 -0000 To: commits@stdcxx.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080326022845.E75891A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Tue Mar 25 19:28:44 2008 New Revision: 641116 URL: http://svn.apache.org/viewvc?rev=641116&view=rev Log: 2008-03-25 Martin Sebor * tests/self/0.new.cpp (run_test): Disabled diagnostics issued by the replacement operator new and delete defined by the test driver in response to deliberate errors caused by this test. Modified: stdcxx/trunk/tests/self/0.new.cpp Modified: stdcxx/trunk/tests/self/0.new.cpp URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/self/0.new.cpp?rev=641116&r1=641115&r2=641116&view=diff ============================================================================== --- stdcxx/trunk/tests/self/0.new.cpp (original) +++ stdcxx/trunk/tests/self/0.new.cpp Tue Mar 25 19:28:44 2008 @@ -22,7 +22,7 @@ * implied. See the License for the specific language governing * permissions and limitations under the License. * - * Copyright 1994-2006 Rogue Wave Software. + * Copyright 1994-2008 Rogue Wave Software, Inc. * **************************************************************************/ @@ -469,6 +469,11 @@ { #ifndef _RWSTD_NO_REPLACEABLE_NEW_DELETE + // disable diagnostics issued by the replacement operator new + // and delete defined by the test driver in response to deliberate + // errors caused by this test + rw_enable (rw_error, false); + # define TEST(name) \ if (rw_opt_no_ ## name) \ rw_note (0, 0, __LINE__, "%s test disabled", #name); \ @@ -493,12 +498,7 @@ } /**************************************************************************/ -/* -void* operator new (size_t n) throw (std::bad_alloc) -{ - return 0; -} -*/ + int main (int argc, char** argv) { return rw_test (argc, argv, __FILE__,