mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Merge servo_remutex to servo_remutex_tests
This commit is contained in:
parent
14d0cf595f
commit
2ec3ed97db
5 changed files with 3 additions and 23 deletions
7
Cargo.lock
generated
7
Cargo.lock
generated
|
@ -2920,13 +2920,6 @@ dependencies = [
|
|||
"nonzero 0.0.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "servo_remutex_tests"
|
||||
version = "0.0.1"
|
||||
dependencies = [
|
||||
"servo_remutex 0.0.1",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "servo_url"
|
||||
version = "0.0.1"
|
||||
|
|
|
@ -8,6 +8,8 @@ publish = false
|
|||
[lib]
|
||||
name = "servo_remutex"
|
||||
path = "lib.rs"
|
||||
test = false
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
lazy_static = "1"
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
|
||||
// These tests came from https://github.com/rust-lang/rust/blob/master/src/libstd/sys/common/remutex.rs
|
||||
|
||||
#![cfg(test)]
|
||||
|
||||
extern crate servo_remutex;
|
||||
|
||||
use servo_remutex::{ReentrantMutex, ReentrantMutexGuard};
|
|
@ -239,6 +239,7 @@ class MachCommands(CommandBase):
|
|||
"net_traits",
|
||||
"selectors",
|
||||
"servo_config",
|
||||
"servo_remutex",
|
||||
]
|
||||
if not packages:
|
||||
packages = set(os.listdir(path.join(self.context.topdir, "tests", "unit"))) - set(['.DS_Store'])
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
[package]
|
||||
name = "servo_remutex_tests"
|
||||
version = "0.0.1"
|
||||
authors = ["The Servo Project Developers"]
|
||||
license = "MPL-2.0"
|
||||
|
||||
[lib]
|
||||
name = "servo_remutex_tests"
|
||||
path = "lib.rs"
|
||||
doctest = false
|
||||
|
||||
[dependencies]
|
||||
servo_remutex = {path = "../../../components/remutex"}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue