diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-02-02 19:05:46 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-02 12:05:46 +0100 |
commit | 6abf126c2a7a451cded8c6b5e6ddf1b69c84055d (patch) | |
tree | fd94c013a19fcb38954844085821ec1601c20e18 /cli/tools/test_runner.rs | |
parent | a2b5d44f1aa9d64f448a2a3cc2001272e2f60b98 (diff) |
chore: remove std directory (#9361)
This removes the std folder from the tree.
Various parts of the tests are pretty tightly dependent
on std (47 direct imports and 75 indirect imports, not
counting the cli tests that use them as fixtures) so I've
added std as a submodule for now.
Diffstat (limited to 'cli/tools/test_runner.rs')
-rw-r--r-- | cli/tools/test_runner.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cli/tools/test_runner.rs b/cli/tools/test_runner.rs index 172ca54ea..e91cad011 100644 --- a/cli/tools/test_runner.rs +++ b/cli/tools/test_runner.rs @@ -149,7 +149,12 @@ mod tests { #[test] fn supports_dirs() { - let root = test_util::root_path().join("std").join("http"); + // TODO(caspervonb) generate some fixtures in a temporary directory instead, there's no need + // for this to rely on external fixtures. + let root = test_util::root_path() + .join("test_util") + .join("std") + .join("http"); println!("root {:?}", root); let mut matched_urls = prepare_test_modules_urls(vec![".".to_string()], &root).unwrap(); |