aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts
diff options
context:
space:
mode:
authorsvidyuk <svidyuk@yandex-team.com>2023-11-21 11:08:42 +0300
committersvidyuk <svidyuk@yandex-team.com>2023-11-21 12:09:01 +0300
commitcb06c8c8c566e58f3778561aa46a0992b7adfa8b (patch)
treea1570b256ecc4cb1151d083072baa5a1c37e9b5a /build/scripts
parent4358278d7659145f2b87830fc78413499e6c51cb (diff)
downloadydb-cb06c8c8c566e58f3778561aa46a0992b7adfa8b.tar.gz
check proper binary on windows
Diffstat (limited to 'build/scripts')
-rw-r--r--build/scripts/run_junit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/scripts/run_junit.py b/build/scripts/run_junit.py
index 089f149f72..e6384d7929 100644
--- a/build/scripts/run_junit.py
+++ b/build/scripts/run_junit.py
@@ -20,7 +20,7 @@ def main():
jar_binary = args[args.index('--jar-binary') + 1]
java_bin_dir = os.path.dirname(jar_binary)
- jstack_binary = os.path.join(java_bin_dir, 'jstack')
+ jstack_binary = os.path.join(java_bin_dir, 'jstack.exe' if sys.platform == 'win32' else 'jstack')
if not os.path.exists(jstack_binary):
sys.stderr.write("jstack is missing: {}\n".format(jstack_binary))