mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bbann...@apache.org
Subject [mesos] 02/02: Always used absolute executable paths in parallel runner.
Date Mon, 12 Nov 2018 12:39:51 GMT
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 <bbannier@apache.org>
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.
 


Mime
View raw message