A few tweaks for EPOLLEXCLUSIVE checks in gRPC

pull/11888/head
Craig Tiller 8 years ago
parent c0fa4da234
commit 909a984a92
  1. 5
      tools/run_tests/run_tests.py

@ -1433,8 +1433,11 @@ class BuildAndRunError(object):
def _has_epollexclusive():
binary = 'bins/%s/check_epollexclusive' % args.config
if not os.path.exists(binary):
return False
try:
subprocess.check_call('bins/%s/check_epollexclusive' % args.config)
subprocess.check_call(binary)
return True
except subprocess.CalledProcessError, e:
return False

Loading…
Cancel
Save