From stdcxx-commits-return-2123-apmail-incubator-stdcxx-commits-archive=incubator.apache.org@incubator.apache.org Thu Nov 08 01:34:50 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-commits-archive@www.apache.org Received: (qmail 86615 invoked from network); 8 Nov 2007 01:34:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Nov 2007 01:34:50 -0000 Received: (qmail 35880 invoked by uid 500); 8 Nov 2007 01:34:29 -0000 Delivered-To: apmail-incubator-stdcxx-commits-archive@incubator.apache.org Received: (qmail 35866 invoked by uid 500); 8 Nov 2007 01:34:29 -0000 Mailing-List: contact stdcxx-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-commits@incubator.apache.org Received: (qmail 35845 invoked by uid 99); 8 Nov 2007 01:34:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 17:34:29 -0800 X-ASF-Spam-Status: No, hits=-100.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; Thu, 08 Nov 2007 01:35:12 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C9AE91A9832; Wed, 7 Nov 2007 17:34:16 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r592994 - /incubator/stdcxx/trunk/bin/genxviews Date: Thu, 08 Nov 2007 01:34:16 -0000 To: stdcxx-commits@incubator.apache.org From: sebor@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071108013416.C9AE91A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebor Date: Wed Nov 7 17:34:15 2007 New Revision: 592994 URL: http://svn.apache.org/viewvc?rev=592994&view=rev Log: 2007-11-07 Martin Sebor * genxviews (myname): Neew variable (constant, really). (OUTDIR): Renamed variable... (outdir): ...to this. (dryrun, quiet): New variables. Added command line option processing for -d, -q, -D, and -o. Handled the quiet and dryrun modes by omitting HTML output and avoiding the invocation of xbuildgen, respectively. (process_results): Enahnced to write to stdout the command line arguments passed to xbuildgen including a comment with the number of logs passed to the script (when non-zero). Corrected XLC++ 7.0, VisualAge C++ 6.0, and SGI MIPSpro globbing expressions. Modified: incubator/stdcxx/trunk/bin/genxviews Modified: incubator/stdcxx/trunk/bin/genxviews URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/bin/genxviews?rev=592994&r1=592993&r2=592994&view=diff ============================================================================== --- incubator/stdcxx/trunk/bin/genxviews (original) +++ incubator/stdcxx/trunk/bin/genxviews Wed Nov 7 17:34:15 2007 @@ -22,13 +22,50 @@ # ######################################################################## +# set program name (used in diagnostic messages) +myname=`basename $0` + +# program to invoke to process detailed results CROSS=$HOME/bin/xbuildgen -OUTDIR=$HOME/public_html/stdcxx/results +# output directory +outdir=$HOME/public_html/stdcxx/results + +dryrun=0 +quiet=0 + +# process command line options +while getopts "dqD:o:" opt_name; do + case $opt_name in + # options with no arguments + + d) # dry run (do not invoke xbuildgen) + dryrun=1 + ;; + + q) # quiet mode + quiet=1 + ;; + + # options with arguments + + D) # output directory + outdir=$OPTARG + ;; + + o) # argument is the name of output file (stdout by default) + outfile=$OPTARG + ;; + + esac; +done -cd $OUTDIR -cat<