From owner-freebsd-testing@FreeBSD.ORG Sun Mar 16 04:39:06 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5B154FF for ; Sun, 16 Mar 2014 04:39:06 +0000 (UTC) Received: from mail-qc0-f180.google.com (mail-qc0-f180.google.com [209.85.216.180]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 06E52C50 for ; Sun, 16 Mar 2014 04:39:05 +0000 (UTC) Received: by mail-qc0-f180.google.com with SMTP id x3so4676555qcv.11 for ; Sat, 15 Mar 2014 21:38:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=OfdKYyZ3NiQJ16VWAJesRcxbqZXvEhxoSIRiE7zbbQU=; b=Vsz5zXZ4eNrZn/7Sl4R3KX8mzbO9rxGpdyK7Wi1R/S9HVa2Hio7DuUR6ag0bhjZ9fF 5Lmzv71QLAelRGn3npMDanMWq7wxP0jrZsIRalVzBZ/WOSWYHIoh87Wggg67YLOMl3RW GTWUCeNGV3rCNLxC9SGaXmLxnxui/dE9lFLO0jkDhSkY+G4Q+flHpFs0dp6FQuhjcN2K n0d6gkEve2o9vvob0ZaageqBfBSN2qJ02g2x4CNnaAjqfbk2elNI6D/Eoszgn44jLM8w f82jaM8cKjZWrkEUPnAd8C4tAKtsYVeDmdmt/vjIQXoD1SspQT4Zuy/JGsVH1TArBFY0 4P7A== X-Gm-Message-State: ALoCoQnydVit2IMyShdAfYdi9lGLbAl4637cEHDI5v5ulm78IvO0ksruWaevgv9HmMUlcpB2s3jC X-Received: by 10.140.40.5 with SMTP id w5mr18913013qgw.65.1394944739330; Sat, 15 Mar 2014 21:38:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.83.102 with HTTP; Sat, 15 Mar 2014 21:38:39 -0700 (PDT) X-Originating-IP: [180.42.49.96] In-Reply-To: References: From: Julio Merino Date: Sun, 16 Mar 2014 13:38:39 +0900 Message-ID: Subject: Re: Generating Kyua test result output in JUnit XML format for Jenkins integration? To: kyua-discuss@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-testing@freebsd.org" , "jenkins-admin@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Mar 2014 04:39:06 -0000 On Tue, Mar 4, 2014 at 6:27 AM, Craig Rodrigues wrote: > On Sun, Mar 2, 2014 at 12:26 PM, Julio Merino wrote: >> >> >> (As I mentioned in the other thread) this is relatively easy to do and >> we have enough time to get it going by May 15th. >> >> The path of least resistance to get this out for now is: >> >> 1. Reintroduce support for --output=format:path to 'report' so that >> 'report' can output more than one format. The existence of >> 'report-html' as a separate command is a pretty ugly hack. >> >> 2. Split out the console-specific formatting from cmd_report.cpp into >> a separate module to clearly expose what is part of the formatting and >> what is not. Adding JUnit XML support should not require changes to >> other code. Alright; these two are now done in github. The code is not very pretty (OK, not pretty at all) but it should now be possible to relatively easily bolt on JUnit XML formatting code. Still have to integrate HTML output generation into the new code structure to ensure that this is true. >> 3. Add a new module with the JUnit XML formatting code. > > I think that these are all fine goals. > I might be able to help with 3. If you want to try that's cool, but if you can provide me some sample outputs and a pointer to the schema I will do this sometime soon. > The easier we make it to customize Kyua's output formats, the easier it will > be > to get more people to use Kyua. Indeed. But let's focus on BSDCan for now ;-)