mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-14 16:35:03 +01:00
rename tests to ui-tests
This commit is contained in:
parent
b68d775671
commit
dd93453943
9 changed files with 12 additions and 12 deletions
|
|
@ -8,7 +8,7 @@
|
|||
"build": "tsc",
|
||||
"fmt": "prettier -w .",
|
||||
"test": "jest",
|
||||
"ui-test": "npm run build && cargo run --manifest-path tests/Cargo.toml --bin tests",
|
||||
"ui-test": "npm run build && cargo run --manifest-path ui-tests/Cargo.toml --bin ui-tests",
|
||||
"lint": "eslint ."
|
||||
},
|
||||
"author": "",
|
||||
|
|
|
|||
0
tests/.gitignore → ui-tests/.gitignore
vendored
0
tests/.gitignore → ui-tests/.gitignore
vendored
14
tests/Cargo.lock → ui-tests/Cargo.lock
generated
14
tests/Cargo.lock → ui-tests/Cargo.lock
generated
|
|
@ -906,13 +906,6 @@ dependencies = [
|
|||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "tests"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"ui_test",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "textwrap"
|
||||
version = "0.11.0"
|
||||
|
|
@ -994,6 +987,13 @@ dependencies = [
|
|||
"tracing-core",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ui-tests"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"ui_test",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ui_test"
|
||||
version = "0.12.1"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "tests"
|
||||
name = "ui-tests"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
|
|
@ -8,7 +8,7 @@ fn main() {
|
|||
.args(&[
|
||||
"build",
|
||||
"--manifest-path",
|
||||
"tests/Cargo.toml",
|
||||
"ui-tests/Cargo.toml",
|
||||
"--bin",
|
||||
"nilc-wrapper",
|
||||
])
|
||||
|
|
@ -20,9 +20,9 @@ fn main() {
|
|||
.then_some(())
|
||||
.unwrap_or_else(|| std::process::exit(1));
|
||||
|
||||
let mut config = Config::rustc("tests/ui");
|
||||
let mut config = Config::rustc("ui-tests/ui");
|
||||
config.host = Some("wasm :3".into());
|
||||
config.program = CommandBuilder::cmd("tests/target/debug/nilc-wrapper");
|
||||
config.program = CommandBuilder::cmd("ui-tests/target/debug/nilc-wrapper");
|
||||
config.mode = Mode::Fail {
|
||||
require_patterns: false,
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue