mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-16 09:25: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",
|
"build": "tsc",
|
||||||
"fmt": "prettier -w .",
|
"fmt": "prettier -w .",
|
||||||
"test": "jest",
|
"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 ."
|
"lint": "eslint ."
|
||||||
},
|
},
|
||||||
"author": "",
|
"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",
|
"winapi",
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "tests"
|
|
||||||
version = "0.1.0"
|
|
||||||
dependencies = [
|
|
||||||
"ui_test",
|
|
||||||
]
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "textwrap"
|
name = "textwrap"
|
||||||
version = "0.11.0"
|
version = "0.11.0"
|
||||||
|
|
@ -994,6 +987,13 @@ dependencies = [
|
||||||
"tracing-core",
|
"tracing-core",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "ui-tests"
|
||||||
|
version = "0.1.0"
|
||||||
|
dependencies = [
|
||||||
|
"ui_test",
|
||||||
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "ui_test"
|
name = "ui_test"
|
||||||
version = "0.12.1"
|
version = "0.12.1"
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[package]
|
[package]
|
||||||
name = "tests"
|
name = "ui-tests"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
|
|
@ -8,7 +8,7 @@ fn main() {
|
||||||
.args(&[
|
.args(&[
|
||||||
"build",
|
"build",
|
||||||
"--manifest-path",
|
"--manifest-path",
|
||||||
"tests/Cargo.toml",
|
"ui-tests/Cargo.toml",
|
||||||
"--bin",
|
"--bin",
|
||||||
"nilc-wrapper",
|
"nilc-wrapper",
|
||||||
])
|
])
|
||||||
|
|
@ -20,9 +20,9 @@ fn main() {
|
||||||
.then_some(())
|
.then_some(())
|
||||||
.unwrap_or_else(|| std::process::exit(1));
|
.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.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 {
|
config.mode = Mode::Fail {
|
||||||
require_patterns: false,
|
require_patterns: false,
|
||||||
};
|
};
|
||||||
Loading…
Add table
Add a link
Reference in a new issue