From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com ([209.132.183.28]:55458 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755181AbdCGMao (ORCPT ); Tue, 7 Mar 2017 07:30:44 -0500 Date: Tue, 7 Mar 2017 20:05:34 +0800 From: Eryu Guan Subject: Re: [PATCH 2/2] report: Add xunit format report generator Message-ID: <20170307120534.GV14226@eguan.usersys.redhat.com> References: <1488529576-17034-1-git-send-email-dmonakhov@openvz.org> <1488529576-17034-3-git-send-email-dmonakhov@openvz.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1488529576-17034-3-git-send-email-dmonakhov@openvz.org> Sender: fstests-owner@vger.kernel.org To: Dmitry Monakhov Cc: fstests@vger.kernel.org List-ID: On Fri, Mar 03, 2017 at 12:26:16PM +0400, Dmitry Monakhov wrote: > xunit[1]/junit[2] are well known report formats for tests frameworks which > supported by most of test CI frameworks(such as Jenkins [3], Bamboo [4], Avocado [5]) > Basically this is just xml document which can be easily parsed later by external tools. > > changes since v2: (in response to eguan@) > - assert repot format on initialization > - Tabify new files > > changes since v1: > - Use generic '-R fmt' option for report generation, asked by eguan@ > - localize variables, asked by eguan@ > - do not add empty files to report asked by eguan@ > - Add properties > - Fix system-err/system-out node nesting > > EXAMPLE: > #./check -R xunit -s ext4 generic/001 generic/010 > #cat results/ext4/result.xml > > > > > > > > > > > > > > > > > > > > > > > > > > Footnotes: > [1] https://xunit.github.io/docs/format-xml-v2.html > [2] http://help.catchsoftware.com/display/ET/JUnit+Format > [3] https://jenkins.io > [4] https://www.atlassian.com/software/bamboo > [5] https://github.com/avocado-framework/avocado > > Signed-off-by: Dmitry Monakhov I renamed OVERLAY_{UPPER,LOWER,WORK}_DIR to OVL_{UPPER,LOWER,WORK} in this patch, as they've been updated by recent overlayfs patch. I also fixed some minor indention issues and removed unused test_status in _assert_report_list() function. Thanks for the update! Eryu