WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH][XM-TEST] init xmtest report files

To: Dan Smith <danms@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][XM-TEST] init xmtest report files
From: woody marvel <marvel@xxxxxxxxxx>
Date: Tue, 14 Mar 2006 16:13:07 -0800
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 15 Mar 2006 00:05:47 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <87wtewwpbi.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: LTC
References: <1142380839.3602.9.camel@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <87wtewwpbi.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: marvel@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Apologies, I will be more fastidious next time.

wm
============
On Tue, 2006-03-14 at 15:59 -0800, Dan Smith wrote:
> WM> Fix init of report file for runtest.sh
> 
> Good, this is definitely needed because people are accidentally
> submitting duplicate results when they use the same logfile name with
> runtest.sh multiple times.
> 
> > -       echo "*** case $casename from group $groupentered" >> $output
> > +       echo "*** case $casename from group $groupentered" > $output
> >         if [ -z "$testlist" ]; then
> > -          echo "*** Running tests for case $casename" >> $output
> > -          (cd tests/$casename && TEST_VERBOSE=1 make -k check) >> $output 
> > 2>&1
> > +          echo "*** Running tests for case $casename" > $output
> > +          (cd tests/$casename && TEST_VERBOSE=1 make -k check) > $output 
> > 2>&1
> >         else
> > -          echo "*** Running tests $testlist from case $casename" >> $output
> > -          (cd tests/$casename && TEST_VERBOSE=1 make -k check 
> > TESTS="$testlist") >> $output 2>&1
> > +          echo "*** Running tests $testlist from case $casename" > $output
> > +          (cd tests/$casename && TEST_VERBOSE=1 make -k check 
> > TESTS="$testlist") > $output 2>&1
> 
> By changing every one of the redirects to '>' instead of '>>', you
> will clobber the output file each time, which means that only the last
> test group will actually be reported in the log file!
> 
> How did this pass a sniff test?
> 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>