Return-Path: X-Original-To: apmail-buildr-commits-archive@www.apache.org Delivered-To: apmail-buildr-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5EA3110446 for ; Sat, 10 Aug 2013 09:20:48 +0000 (UTC) Received: (qmail 56833 invoked by uid 500); 10 Aug 2013 09:20:48 -0000 Delivered-To: apmail-buildr-commits-archive@buildr.apache.org Received: (qmail 56811 invoked by uid 500); 10 Aug 2013 09:20:48 -0000 Mailing-List: contact commits-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@buildr.apache.org Delivered-To: mailing list commits@buildr.apache.org Received: (qmail 56804 invoked by uid 500); 10 Aug 2013 09:20:48 -0000 Delivered-To: apmail-incubator-buildr-commits@incubator.apache.org Received: (qmail 56799 invoked by uid 99); 10 Aug 2013 09:20:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Aug 2013 09:20:48 +0000 Date: Sat, 10 Aug 2013 09:20:48 +0000 (UTC) From: "Peter Donald (JIRA)" To: buildr-commits@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (BUILDR-673) MultiTest options are broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/BUILDR-673?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Peter Donald closed BUILDR-673. ------------------------------- Resolution: Fixed > MultiTest options are broken > ---------------------------- > > Key: BUILDR-673 > URL: https://issues.apache.org/jira/browse/BUILDR-673 > Project: Buildr > Issue Type: Bug > Components: Test frameworks > Affects Versions: 1.4.11, 1.4.12 > Environment: All > Reporter: John Roth > Assignee: Peter Donald > > Documentation indicates that the ":options" to MultiTest is a hash with keys like ":junit" or ":testng" and values a hash of options to be passed to that test framework. But, in fact, the entire ":options" hash is passed to each framework. > In particular, tests.rb line 392 (see context below) reads "f.new(task,options)" but should read "f.new(task, framework_options)" ("framework_options" is otherwise an unread variable in tests.rb.) > def initialize(task, options) #:nodoc: > super > fail "Missing :frameworks option" unless options[:frameworks] > @frameworks = options[:frameworks].map do |f| > framework_options = (options[:options] || {})[f.to_sym] || {} > f.new(task, options) > end > end -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira