diff options
author | snermolaev <snermolaev@yandex-team.com> | 2023-10-21 04:37:07 +0300 |
---|---|---|
committer | snermolaev <snermolaev@yandex-team.com> | 2023-10-21 05:30:55 +0300 |
commit | c4974538026c65bcca02a9b391e32231569d2dd2 (patch) | |
tree | 1ca8bf2264a90e219fe24585d926bf7186c4e7b2 /build/plugins/gobuild.py | |
parent | 61e65e86eb9daac7be0a0d3dbca1686fbfb3dcae (diff) | |
download | ydb-c4974538026c65bcca02a9b391e32231569d2dd2.tar.gz |
py23 gobuild.py: go coverage
Diffstat (limited to 'build/plugins/gobuild.py')
-rw-r--r-- | build/plugins/gobuild.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/plugins/gobuild.py b/build/plugins/gobuild.py index 3946d7214c..c264349c5a 100644 --- a/build/plugins/gobuild.py +++ b/build/plugins/gobuild.py @@ -189,7 +189,7 @@ def on_go_process_srcs(unit): for f in go_files: if f.endswith('_test.go'): continue - cover_var = 'GoCover' + base64.b32encode(f).rstrip('=') + cover_var = 'GoCover' + six.ensure_str(base64.b32encode(six.ensure_binary(f))).rstrip('=') cover_file = unit.resolve_arc_path(f) cover_file_output = '{}/{}'.format(unit_path, os.path.basename(f)) unit.on_go_gen_cover_go([cover_file, cover_file_output, cover_var]) |