From a3099798c881ac1be7108c0255e67e182c7080da Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Tue, 5 Jan 2021 12:07:27 +0100 Subject: tests: add web platform test runner (#8990) Co-authored-by: Kitson Kelly --- test_util/src/lib.rs | 5 ++++- test_util/wpt | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) create mode 160000 test_util/wpt (limited to 'test_util') 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() } diff --git a/test_util/wpt b/test_util/wpt new file mode 160000 index 000000000..077d53c8d --- /dev/null +++ b/test_util/wpt @@ -0,0 +1 @@ +Subproject commit 077d53c8da8b47c1d5060893af96a29f27b10008 -- cgit v1.2.3