From owner-freebsd-testing@FreeBSD.ORG Fri Jun 27 15:44:35 2014 Return-Path: Delivered-To: freebsd-testing@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23A775E1 for ; Fri, 27 Jun 2014 15:44:35 +0000 (UTC) Received: from mail-qg0-f42.google.com (mail-qg0-f42.google.com [209.85.192.42]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D50B32D21 for ; Fri, 27 Jun 2014 15:44:34 +0000 (UTC) Received: by mail-qg0-f42.google.com with SMTP id e89so4626656qgf.1 for ; Fri, 27 Jun 2014 08:44:27 -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=HurkenV4lxkm+GXDvwuGGBTqrWpaFlbVl7gVV6mGA+I=; b=d0/tftNWbKkWt9sSyuzCOoHFwAjXtkLdYgmjGDds3oxMsYT/0bEFPUJYcKntxOQdPI xhhO6qozsfd1RMEbU6ov5qzlIcTK2ux07kI54gNDE/Z6C5ttV5fepuWYDXhVRMOcGBJj g8RmKyUoH5uZjt0j4E8+IPD4hZBhYd+XrnpZBQ4WEKc+lrakA2b2HCNOdOh3uMHsXNMF CnsJ7TbqHGOEMlgck9B/SZtVvPbH36tqo5djyhVpxYLIG2zDYU+lgxNTY/AkpIUxoRq9 D9x59gEZMyyQEU2V8dSCn5x8QgI7cTlcGkjEkZXbftQsJmMsjvJTy6ipfde1dmX6iVC9 7kKw== X-Gm-Message-State: ALoCoQlCgzDCfd9WC4d3Z+eLYYqlBTB1ryIJwPlt2jQrBxJ02QHU5v4H38jhqoJFTLc0bMIUYqmH X-Received: by 10.140.91.226 with SMTP id z89mr32294994qgd.65.1403883867188; Fri, 27 Jun 2014 08:44:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.83.99 with HTTP; Fri, 27 Jun 2014 08:44:07 -0700 (PDT) X-Originating-IP: [172.26.40.81] In-Reply-To: References: From: Julio Merino Date: Fri, 27 Jun 2014 11:44:07 -0400 Message-ID: Subject: Re: Kyua + Jenkins integration To: Craig Rodrigues Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-testing@freebsd.org" , "jenkins-admin@freebsd.org" X-BeenThere: freebsd-testing@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Testing on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 15:44:35 -0000 On Mon, Jun 16, 2014 at 4:59 PM, Craig Rodrigues wrote: > On Wed, Jun 11, 2014 at 3:23 AM, Julio Merino wrote: >> >> https://github.com/jmmv/kyua/commit/7acd1a1fa05e600ac41094857ee1344f4ae7adb5 >> > > By default, "kyua report-html" will write output files in the ./html directory, > unless overridden by "--output [directory]". > However, "kyua report-junit" seems to write output files to stdout > instead by default. > > You might want to make the default behavior of "kyua report-junit" by closer > to "kyua report-html", i.e. do not write the output files to stdout by default. This is intentional and is part of the reason why every output format has its own command: their behaviors are different and attempting to represent them with the same command-line interface would be more confusing. The HTML output generates more than one file so it cannot write to stdout. But that's the exception, not the norm: both report and report-junit generate single files and print them to stdout. The plan is to make report-html write a single file by default (with an option for chunked output) and write that to stdout. Other than for consistency reasons, this would resolve some of the concerns with the current HTML output (aka harder to manage than atf's due to the multi-file setup.)