Skip to content

Move webidl tests to the webidl crate's test suite #451

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ matrix:
# WebIDL tests pass on nightly
- rust: nightly
env: JOB=test-webidl
before_install: rustup component add rustfmt-preview --toolchain nightly
before_install: *INSTALL_NODE_VIA_NVM
install: npm install
script: cargo test --manifest-path crates/webidl/Cargo.toml

# Dist linux binary
Expand Down
5 changes: 1 addition & 4 deletions crates/webidl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ version = "0.2.11"
authors = ["Nick Fitzgerald <[email protected]>"]

[dev-dependencies]
diff = "0.1.11"
env_logger = "0.5.10"
wasm-bindgen = { path = "../..", default-features = false }
wasm-bindgen-backend = { version = "=0.2.11", path = "../backend", features = ["extra-traits"] }
wasm-bindgen-test-project-builder = { path = "../test-project-builder", version = '=0.2.11' }

[dependencies]
failure = "0.1"
Expand Down
14 changes: 3 additions & 11 deletions crates/webidl/tests/all/main.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
extern crate diff;
extern crate env_logger;
extern crate proc_macro2;
extern crate syn;
extern crate wasm_bindgen_backend as backend;
extern crate wasm_bindgen_webidl as wb_webidl;
extern crate wasm_bindgen_test_project_builder as project_builder;
use project_builder::project;

#[macro_use]
mod util;
use util::*;

assert_compile!(Event);
mod simple;
File renamed without changes.
172 changes: 0 additions & 172 deletions crates/webidl/tests/all/util.rs

This file was deleted.

Loading