diff options
author | 2016-10-11 11:42:01 -0700 | |
---|---|---|
committer | 2016-10-12 10:59:11 -0700 | |
commit | 1687cab9ed8b286f78db1f11b1baa0094b236d83 (patch) | |
tree | fade42d0c85191d2ec4d45c12de98b52a354bc41 /tools/run_tests/run_tests.py | |
parent | aa9c578b074ce06ac1bf2765971924cdf5246290 (diff) |
Add libuv tests, and installation step in dockerfile
Diffstat (limited to 'tools/run_tests/run_tests.py')
-rwxr-xr-x | tools/run_tests/run_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index e8818d77e0..a146ac8f66 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -207,11 +207,11 @@ class CLanguage(object): cflags = '-DGRPC_UV ' try: cflags += subprocess.check_output(['pkg-config', '--cflags', 'libuv']).strip() + ' ' - except subprocess.CalledProcessError: + except (subprocess.CalledProcessError, OSError): pass try: ldflags = subprocess.check_output(['pkg-config', '--libs', 'libuv']).strip() + ' ' - except subprocess.CalledProcessError: + except (subprocess.CalledProcessError, OSError): ldflags = '-luv ' self._make_options += ['EXTRA_CPPFLAGS={}'.format(cflags), 'EXTRA_LDLIBS={}'.format(ldflags)] |