Put all tests in sailfish-tests/ directory

This commit is contained in:
Kogia-sima 2020-07-14 22:46:58 +09:00
parent 4d548bdb94
commit 6c72bb17d1
65 changed files with 8 additions and 7 deletions

View File

@ -4,10 +4,10 @@ members = [
"sailfish-compiler",
"sailfish-macros",
"examples",
"integration-tests"
"sailfish-tests/integration-tests"
]
exclude = [
"fuzzing-tests",
"sailfish-tests/fuzzing-tests",
"benches"
]

View File

@ -200,6 +200,7 @@ fn derive_template_impl(tokens: TokenStream) -> Result<TokenStream, syn::Error>
.ancestors()
.find(|p| p.join("LICENSE").exists())
.unwrap()
.join("sailfish-tests")
.join("integration-tests")
.join("tests")
.join("fails")

View File

@ -9,5 +9,5 @@ publish = false
[dependencies]
afl = "0.8.0"
sailfish = { path = "../sailfish" }
sailfish-compiler = { path = "../sailfish-compiler" }
sailfish = { path = "../../sailfish" }
sailfish-compiler = { path = "../../sailfish-compiler" }

View File

@ -6,9 +6,9 @@ edition = "2018"
publish = false
[dependencies]
sailfish = { path = "../sailfish" }
sailfish-macros = { path = "../sailfish-macros" }
sailfish-compiler = { path = "../sailfish-compiler" }
sailfish = { path = "../../sailfish" }
sailfish-macros = { path = "../../sailfish-macros" }
sailfish-compiler = { path = "../../sailfish-compiler" }
[dev-dependencies]
trybuild = "1.0.28"