mirror of
https://github.com/denoland/rusty_v8.git
synced 2024-11-24 15:19:31 -05:00
chore: actually run unit tests in build.rs (#980)
This commit is contained in:
parent
973c986411
commit
e7105d4eff
2 changed files with 7 additions and 0 deletions
|
@ -89,7 +89,9 @@ which = "4.2.5"
|
|||
|
||||
[dev-dependencies]
|
||||
align-data = "0.1.0"
|
||||
fslock = "0.1.8"
|
||||
trybuild = "1.0.61"
|
||||
which = "4.2.5"
|
||||
|
||||
[[example]]
|
||||
name = "hello_world"
|
||||
|
@ -100,5 +102,9 @@ name = "shell"
|
|||
[[example]]
|
||||
name = "process"
|
||||
|
||||
[[test]]
|
||||
name = "buid"
|
||||
path = "build.rs"
|
||||
|
||||
[workspace]
|
||||
members = ["examples/android"]
|
||||
|
|
1
build.rs
1
build.rs
|
@ -832,6 +832,7 @@ pub fn parse_ninja_graph(s: &str) -> HashSet<String> {
|
|||
#[cfg(test)]
|
||||
mod test {
|
||||
use super::*;
|
||||
|
||||
const MOCK_GRAPH: &str = r#"
|
||||
digraph ninja {
|
||||
rankdir="LR"
|
||||
|
|
Loading…
Reference in a new issue