diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2020-05-04 10:40:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-04 10:40:18 -0400 |
commit | 92c0591fcbf74ee34e7bc0518376d8fdb38feb30 (patch) | |
tree | 7b3976a2ad0d06fd8fc8f44045bdd603302ffbdf /cli/test_util.rs | |
parent | 1500547afa9c7784967f1915398bc4e1b3a18e08 (diff) |
simplify unit tests: compiler_api, workers (#5073)
Diffstat (limited to 'cli/test_util.rs')
-rw-r--r-- | cli/test_util.rs | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |