From 25342f4c9c0253fe9aaac0a85843ebce5b26ea8a Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 12 Oct 2016 18:46:17 +0530 Subject: [PATCH 1/2] Remove test-geckolib, run test-stylo on travis --- .travis.yml | 2 +- python/servo/testing_commands.py | 11 ----------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 783fb2334ba..db86c2a6e45 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ matrix: - ./mach test-compiletest - ./mach test-unit - ./mach build-geckolib - - ./mach test-geckolib + - ./mach test-stylo - bash etc/ci/check_no_unwrap.sh - bash etc/ci/lockfile_changed.sh - bash etc/ci/manifest_changed.sh diff --git a/python/servo/testing_commands.py b/python/servo/testing_commands.py index a7b5e904072..208d9b2433b 100644 --- a/python/servo/testing_commands.py +++ b/python/servo/testing_commands.py @@ -158,17 +158,6 @@ class MachCommands(CommandBase): return suite return None - @Command('test-geckolib', - description='Test geckolib sanity checks', - category='testing') - def test_geckolib(self): - self.ensure_bootstrapped() - - env = self.build_env() - env["RUST_BACKTRACE"] = "1" - - return call(["cargo", "test"], env=env, cwd=path.join("ports", "geckolib")) - @Command('test-perf', description='Run the page load performance test', category='testing') From bfee89a6905e5873c1c0c9fbe973a308a6317053 Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Wed, 12 Oct 2016 19:14:27 +0530 Subject: [PATCH 2/2] Fix unused crate error --- components/style/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/lib.rs b/components/style/lib.rs index 6d576c842de..35b1ba0a1ce 100644 --- a/components/style/lib.rs +++ b/components/style/lib.rs @@ -62,7 +62,7 @@ extern crate heapsize; #[allow(unused_extern_crates)] #[macro_use] extern crate lazy_static; -extern crate libc; +#[cfg(feature = "gecko")] extern crate libc; #[macro_use] extern crate log; #[allow(unused_extern_crates)]