From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8848 invoked by alias); 1 Nov 2013 07:36:46 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 8462 invoked by uid 89); 1 Nov 2013 07:36:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 01 Nov 2013 07:36:41 +0000 Received: from svr-orw-exc-10.mgc.mentorg.com ([147.34.98.58]) by relay1.mentorg.com with esmtp id 1Vc9Hb-0006Qv-8Q from Yao_Qi@mentor.com for gdb-patches@sourceware.org; Fri, 01 Nov 2013 00:36:39 -0700 Received: from SVR-ORW-FEM-02.mgc.mentorg.com ([147.34.96.206]) by SVR-ORW-EXC-10.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 1 Nov 2013 00:36:39 -0700 Received: from qiyao.dyndns.org (147.34.91.1) by svr-orw-fem-02.mgc.mentorg.com (147.34.96.168) with Microsoft SMTP Server id 14.2.247.3; Fri, 1 Nov 2013 00:36:38 -0700 From: Yao Qi To: Subject: [PATCH 3/4] Mention perf test in testsuite/README Date: Fri, 01 Nov 2013 07:36:00 -0000 Message-ID: <1383291300-13917-4-git-send-email-yao@codesourcery.com> In-Reply-To: <1383291300-13917-1-git-send-email-yao@codesourcery.com> References: <1383291300-13917-1-git-send-email-yao@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00006.txt.bz2 gdb/testsuite: 2013-11-01 Yao Qi * README: Mention performance tests. --- gdb/testsuite/README | 27 +++++++++++++++++++++++++++ 1 files changed, 27 insertions(+), 0 deletions(-) diff --git a/gdb/testsuite/README b/gdb/testsuite/README index ec91b14..c17bd34 100644 --- a/gdb/testsuite/README +++ b/gdb/testsuite/README @@ -25,6 +25,29 @@ The second is to cd to the testsuite directory and invoke the DejaGnu (The `site.exp' file contains a handful of useful variables like host and target triplets, and pathnames.) +Running the Performance Tests +***************************** + +GDB Testsuite includes performance test cases, which are not run together +with other test cases, because performance test cases are slow and need +a quiet system. There are two ways to run the performance test cases. +The first is to do `make check-perf' in the main build directory: + + make check-perf RUNTESTFLAGS="solib.exp SOLIB_COUNT=8" + +The second is to cd to the testsuite directory and invoke the DejaGnu +`runtest' command directly. + + cd testsuite + make site.exp + runtest GDB_PERFTEST_MODE=both GDB_PERFTEST_TIMEOUT=4000 --directory=gdb.perf solib.exp SOLIB_COUNT=8 + +Only "compile", "run" and "both" are valid to GDB_PERFTEST_MODE. They +stand for "compile tests only", "run tests only", and "compile and run +tests" respectively. "both" is the default. GDB_PERFTEST_TIMEOUT +specify the timeout, which is 3000 in default. The result of +performance test is appended in `testsuite/perftest.log'. + Testsuite Parameters ******************** @@ -315,6 +338,10 @@ Tests that exercise a specific GDB subsystem in more depth. For instance, gdb.disasm exercises various disassemblers, while gdb.stabs tests pathways through the stabs symbol reader. +gdb.perf + +GDB performance tests. + Writing Tests ************* -- 1.7.7.6