diff options
Diffstat (limited to 'test_util/src/lib.rs')
-rw-r--r-- | test_util/src/lib.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs index b750cb99a..f8fbb8b65 100644 --- a/test_util/src/lib.rs +++ b/test_util/src/lib.rs @@ -140,6 +140,14 @@ pub fn deno_exe_path() -> PathRef { PathRef::new(p) } +pub fn denort_exe_path() -> PathRef { + let mut p = target_dir().join("denort").to_path_buf(); + if cfg!(windows) { + p.set_extension("exe"); + } + PathRef::new(p) +} + pub fn prebuilt_tool_path(tool: &str) -> PathRef { let mut exe = tool.to_string(); exe.push_str(if cfg!(windows) { ".exe" } else { "" }); |