aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-06-03 12:24:03 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-06-03 12:54:30 -0700
commitfd3857bbff5b87c74b0aa8d299638960d2122759 (patch)
tree25e4249438bce6c9a8ea48fecc880e00a55142f6 /tools/run_tests
parent2ff798629c64cabf0810f030c6eaed14efca60f2 (diff)
fix propagation of make options under docker
Diffstat (limited to 'tools/run_tests')
-rwxr-xr-xtools/run_tests/run_tests.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 0a5625c3f5..f7282dddb8 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -254,9 +254,7 @@ class CLanguage(object):
def _compiler_options(self, use_docker, compiler):
"""Returns docker distro and make options to use for given compiler."""
- if _is_use_docker_child():
- return ("already_under_docker", [])
- if not use_docker:
+ if not use_docker and not _is_use_docker_child():
_check_compiler(compiler, ['default'])
if compiler == 'gcc4.9' or compiler == 'default':