summaryrefslogtreecommitdiff
path: root/test_util/src
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-01-05 12:07:27 +0100
committerGitHub <noreply@github.com>2021-01-05 12:07:27 +0100
commita3099798c881ac1be7108c0255e67e182c7080da (patch)
tree8cbfc988a7a51e93dfaba4120b8566445015052f /test_util/src
parentcbc2108525f3a01f4a944104457939b741c9898b (diff)
tests: add web platform test runner (#8990)
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
Diffstat (limited to 'test_util/src')
-rw-r--r--test_util/src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/test_util/src/lib.rs b/test_util/src/lib.rs
index a91416bb5..262084af7 100644
--- a/test_util/src/lib.rs
+++ b/test_util/src/lib.rs
@@ -83,6 +83,10 @@ pub fn tests_path() -> PathBuf {
root_path().join("cli").join("tests")
}
+pub fn wpt_path() -> PathBuf {
+ root_path().join("test_util").join("wpt")
+}
+
pub fn third_party_path() -> PathBuf {
root_path().join("third_party")
}
@@ -90,7 +94,6 @@ pub fn third_party_path() -> PathBuf {
pub fn target_dir() -> PathBuf {
let current_exe = std::env::current_exe().unwrap();
let target_dir = current_exe.parent().unwrap().parent().unwrap();
- println!("target_dir {}", target_dir.display());
target_dir.into()
}