From 92c0591fcbf74ee34e7bc0518376d8fdb38feb30 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 4 May 2020 10:40:18 -0400 Subject: simplify unit tests: compiler_api, workers (#5073) --- cli/test_util.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cli/test_util.rs') diff --git a/cli/test_util.rs b/cli/test_util.rs index 4fda808ce..890b2783f 100644 --- a/cli/test_util.rs +++ b/cli/test_util.rs @@ -19,6 +19,10 @@ pub fn root_path() -> PathBuf { PathBuf::from(concat!(env!("CARGO_MANIFEST_DIR"), "/..")) } +pub fn tests_path() -> PathBuf { + root_path().join("cli").join("tests") +} + pub fn target_dir() -> PathBuf { let current_exe = std::env::current_exe().unwrap(); let target_dir = current_exe.parent().unwrap().parent().unwrap(); -- cgit v1.2.3