use dynamically generated port number to configure servers in unittest

This commit is contained in:
Benjamin Sergeant
2019-01-28 15:14:49 -08:00
parent 7eaea28970
commit 8983dd97a1
9 changed files with 93 additions and 15 deletions

View File

@ -34,6 +34,10 @@ if osName == 'Linux':
sanitizerFlags = sanitizersFlags[sanitizer]
# if osName == 'Windows':
# os.environ['CC'] = 'clang-cl'
# os.environ['CXX'] = 'clang-cl'
cmakeCmd = 'cmake -DCMAKE_BUILD_TYPE=Debug {} {} ..'.format(generator, sanitizerFlags)
print(cmakeCmd)
ret = os.system(cmakeCmd)