From commits-return-25405-archive-asf-public=cust-asf.ponee.io@mesos.apache.org Mon Nov 12 13:39:51 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4D489180660 for ; Mon, 12 Nov 2018 13:39:51 +0100 (CET) Received: (qmail 96597 invoked by uid 500); 12 Nov 2018 12:39:50 -0000 Mailing-List: contact commits-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list commits@mesos.apache.org Received: (qmail 96580 invoked by uid 99); 12 Nov 2018 12:39:50 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Nov 2018 12:39:50 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id AEDD982B4A; Mon, 12 Nov 2018 12:39:49 +0000 (UTC) Date: Mon, 12 Nov 2018 12:39:51 +0000 To: "commits@mesos.apache.org" Subject: [mesos] 02/02: Always used absolute executable paths in parallel runner. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: bbannier@apache.org In-Reply-To: <154202638958.8301.5181738764927238412@gitbox.apache.org> References: <154202638958.8301.5181738764927238412@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: mesos X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Rev: 77b088b1975d4f5f4a8a217c65fc0af4dae6ed17 X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20181112123949.AEDD982B4A@gitbox.apache.org> This is an automated email from the ASF dual-hosted git repository. bbannier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mesos.git commit 77b088b1975d4f5f4a8a217c65fc0af4dae6ed17 Author: Benjamin Bannier AuthorDate: Fri Nov 9 22:06:57 2018 +0100 Always used absolute executable paths in parallel runner. This allows executing test which are just passed as file names, not as relative or absolute paths. Review: https://reviews.apache.org/r/69310 --- support/mesos-gtest-runner.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/support/mesos-gtest-runner.py b/support/mesos-gtest-runner.py index 255ac13..94cc1a6 100755 --- a/support/mesos-gtest-runner.py +++ b/support/mesos-gtest-runner.py @@ -234,6 +234,8 @@ if __name__ == '__main__': EXECUTABLE, OPTIONS = parse_arguments() validate_setup(OPTIONS) + EXECUTABLE = os.path.abspath(EXECUTABLE) + def options_gen(executable, filter_, jobs): """Generator for options for a certain shard.