From patchwork Fri Mar 17 07:28:31 2017
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Gerald Pfeifer
X-Patchwork-Id: 740185
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@bilbo.ozlabs.org
Received: from sourceware.org (server1.sourceware.org [209.132.180.131])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256
bits)) (No client certificate requested)
by ozlabs.org (Postfix) with ESMTPS id 3vkxm54wWyz9s1h
for ;
Fri, 17 Mar 2017 18:28:51 +1100 (AEDT)
Authentication-Results: ozlabs.org; dkim=pass (1024-bit key;
unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org
header.b="a8dZbT9Z"; dkim-atps=neutral
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id
:list-unsubscribe:list-archive:list-post:list-help:sender:date
:from:to:subject:message-id:mime-version:content-type; q=dns; s=
default; b=VK9HFlUGc0S7pkAUJt+NclyTgvyckYlTtZJ+kBj+TdSPJ2MUarXRj
SNZA+Vl9RbVfFvXxzdbfO0/mMkxX8M1CXf6Otu/4fqwpLSNpx5mtgglZouyjEKgQ
XKTu0C/SvxCfTVdDFEv85LBvOBdnka8afkce/DsUV8NvPZyT/IvKOg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id
:list-unsubscribe:list-archive:list-post:list-help:sender:date
:from:to:subject:message-id:mime-version:content-type; s=
default; bh=1LZ5gncYXrnJjIjypovTJh6TEbI=; b=a8dZbT9ZQGYwnqLI7xEU
JBacAsX6GhMeRX3xtJZcHFxuUY1t3Xm7XuIzb2DvMrM5A9wbshd8E5wjoNUF/C7A
qjg9hYfTfaRtd7Xhi4WplRg5IrHV+H/C1wzHB0ZQ4sbdyKJeSIt6asp0IZ5kPMXL
wSLt/v+Vhj37XmxmVr3HfYo=
Received: (qmail 55475 invoked by alias); 17 Mar 2017 07:28:42 -0000
Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id:
List-Unsubscribe:
List-Archive:
List-Post:
List-Help:
Sender: gcc-patches-owner@gcc.gnu.org
Delivered-To: mailing list gcc-patches@gcc.gnu.org
Received: (qmail 52800 invoked by uid 89); 17 Mar 2017 07:28:40 -0000
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-11.9 required=5.0 tests=BAYES_00, GIT_PATCH_2,
GIT_PATCH_3, RCVD_IN_DNSWL_NONE,
SPF_PASS autolearn=ham version=3.3.2 spammy=Projects, laptop,
August, august
X-HELO: ainaz.pair.com
Received: from ainaz.pair.com (HELO ainaz.pair.com) (209.68.2.66) by
sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP;
Fri, 17 Mar 2017 07:28:38 +0000
Received: from anthias (vie-188-118-249-200.dsl.sil.at
[188.118.249.200]) (using TLSv1.2 with cipher
ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client
certificate requested) by ainaz.pair.com (Postfix) with
ESMTPSA id E1C9B3F530; Fri, 17 Mar 2017 03:28:34 -0400 (EDT)
Date: Fri, 17 Mar 2017 08:28:31 +0100 (CET)
From: Gerald Pfeifer
To: gcc-patches@gcc.gnu.org, Walter Landry
Subject: [wwwdocs] testing/testing-ftensor.html updates
Message-ID:
MIME-Version: 1.0
X-IsSubscribed: yes
This is a change I committed August 23rd last year, and now found
this mail to gcc-patches@ in my postponed folder. Ahem.
I'm not sure anyone still does any form of testing using this, but
at least the instructions (and links and how to build) are both more
up-to-date, general, and also shorter now in case.
Gerald
https://gcc.gnu.org/testing/testing-ftensor.html
Index: testing/testing-ftensor.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/testing/testing-ftensor.html,v
retrieving revision 1.4
diff -u -r1.4 testing-ftensor.html
--- testing/testing-ftensor.html 9 Dec 2009 18:29:50 -0000 1.4
+++ testing/testing-ftensor.html 23 Aug 2016 12:39:12 -0000
@@ -8,37 +8,26 @@
FTensor build and test guide
This page is a guide to running the testing and timing programs for the
-FTensor
-tensor class library as part of GCC integration testing. FTensor
-can be built with GCC version 3.1 and later.
+FTensor
+tensor class library as part of GCC integration testing.
Resource usage
-The FTensor distribution, available at
-
-FTensor-1.1pre22.tar.gz, is a 169K file. The uncompressed
-distribution comprises some 2.3 MB of source files. Building the testing
-and timing programs adds between 20 and 32 MB of object files and executables
-to this.
+The uncompressed distribution comprises some 2.9 MB of source files.
+
Prepare
To prepare for a build, perform the following:
-- Unpack the file:
-
-tar zxf FTensor-1.1pre22.tar.gz
, or
-gunzip -c FTensor-1.1pre22.tar.gz | tar xf -
-
-
-- Change directory to the repository thus created:
-
-
+- Unpack the source archive.
+- Change directory to the directory thus created.
+- Run
./waf configure
followed by ./waf
+ to configure and build.
Testing
@@ -52,13 +41,11 @@
To build and run the subset of conformance tests meant for compiler
testing, do:
-
+
cd tests/conformance
-
make CXX=<compiler> CXXOPTIMIZE="<flags>" test_compiler
-
./test_compiler
-
+
The conformance tests print out PASS
or FAIL
followed by a unique test name. There should be no failures.
@@ -75,19 +62,11 @@
To build and run the performance tests using the optimizations that
are normally used for them, simply do:
-
+
cd tests/speed
-./one_over_script
-
-
-To use different optimizations and/or a different compiler, first do:
-
-
make CXX=<compiler> CXXOPTIMIZE="<flags>" one_over one_over_fast
-
-
-In this case when the the script one_over_script
invokes
-make, there is nothing for make to do.
+./one_over_script
+
In addition to printing timing information, one_over_script
prints out PASS
or FAIL
for each performance test,
@@ -101,8 +80,8 @@
Cleanup
-Cleanup (to prepare the directory for a fresh run, e.g.
-with another version of the compiler), is done as follows:
+Cleanup (to prepare for a fresh run, e.g. with another version of
+the compiler), is done as follows:
(cd tests/conformance; make clean)
(cd tests/speed; make clean)