0
0
Fork 0
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:
Bert Belder 2022-05-23 21:58:47 +02:00
parent 973c986411
commit e7105d4eff
No known key found for this signature in database
GPG key ID: 7A77887B2E2ED461
2 changed files with 7 additions and 0 deletions

View file

@ -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"]

View file

@ -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"