Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Strip docker image name (#1814)
Browse files Browse the repository at this point in the history
Otherwise it contains a `\n` and breaks.
  • Loading branch information
Zach Nation committed Apr 29, 2019
1 parent a903e3c commit 89db46b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_cpp_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# The build image version that will be used for testing
SCRIPT_DIR=os.path.dirname(__file__)
WORKSPACE=os.path.abspath(os.path.join(SCRIPT_DIR, '..'))
TC_BUILD_IMAGE_1004=subprocess.check_output(['bash', os.path.join(WORKSPACE, 'scripts', 'get_docker_image.sh'), '--ubuntu=10.04'])
TC_BUILD_IMAGE_1004=subprocess.check_output(['bash', os.path.join(WORKSPACE, 'scripts', 'get_docker_image.sh'), '--ubuntu=10.04']).strip()

def run_in_docker(cmd, workdir='/build'):
if not(isinstance(cmd, list)):
Expand Down

0 comments on commit 89db46b

Please sign in to comment.