diff options
Diffstat (limited to 'tools/run_tests/performance/build_performance.sh')
-rwxr-xr-x | tools/run_tests/performance/build_performance.sh | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/tools/run_tests/performance/build_performance.sh b/tools/run_tests/performance/build_performance.sh index 00cc41ec73..b33ee3a58c 100755 --- a/tools/run_tests/performance/build_performance.sh +++ b/tools/run_tests/performance/build_performance.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright 2015-2016, Google Inc. +# Copyright 2015, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -36,5 +36,18 @@ cd $(dirname $0)/../../.. CONFIG=${CONFIG:-opt} -# build C++ qps worker & driver -make CONFIG=${CONFIG} qps_worker qps_driver -j8 +# build C++ qps worker & driver always - we need at least the driver to +# run any of the scenarios. +# TODO(jtattermusch): not embedding OpenSSL breaks the C# build because +# grpc_csharp_ext needs OpenSSL embedded and some intermediate files from +# this build will be reused. +make CONFIG=${CONFIG} EMBED_OPENSSL=true EMBED_ZLIB=true qps_worker qps_driver -j8 + +for language in $@ +do + if [ "$language" != "c++" ] + then + tools/run_tests/run_tests.py -l $language -c $CONFIG --build_only -j 8 + fi +done + |