aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/run_performance_tests.py
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-08-14 10:09:02 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-08-14 10:09:02 +0200
commit217d460ee261fddb2a94b1bd8a8c5e6947bbc07b (patch)
treef128f0c5c9d96ed3d0fbe185b9a707f3b54bd1e5 /tools/run_tests/run_performance_tests.py
parent64712bfa47484933bbbf6ff0fd0682768b695d0c (diff)
fix performance benchmarks on windows
Diffstat (limited to 'tools/run_tests/run_performance_tests.py')
-rwxr-xr-xtools/run_tests/run_performance_tests.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/run_tests/run_performance_tests.py b/tools/run_tests/run_performance_tests.py
index 9a9f74e9e5..bde2cff8f9 100755
--- a/tools/run_tests/run_performance_tests.py
+++ b/tools/run_tests/run_performance_tests.py
@@ -189,7 +189,11 @@ def create_netperf_jobspec(server_host='localhost',
def archive_repo(languages):
"""Archives local version of repo including submodules."""
- cmdline = ['tar', '-cf', '../grpc.tar', '../grpc/']
+ # Directory contains symlinks that can't be correctly untarred on Windows
+ # so we just skip them as a workaround.
+ # See https://github.com/grpc/grpc/issues/16334
+ bad_symlinks_dir = '../grpc/third_party/libcxx/test/std/experimental/filesystem/Inputs/static_test_env'
+ cmdline = ['tar', '--exclude', bad_symlinks_dir, '-cf','../grpc.tar', '../grpc/']
if 'java' in languages:
cmdline.append('../grpc-java')
if 'go' in languages: