sapling/lib/configparser/Cargo.toml
Mark Thomas fdd103b31b configparser: avoid environment race in configparser tests
Summary:
The configparser tests `hg::tests::test_basic_hgplain` and
`hg::tests::test_hgplainexcept` set different values for `HGPLAIN` and
`HGPLAINEXCEPT`.  Since the tests run in parallel and use the same environment,
one of the tests may fail if they run at the same time.

For these tests, create a mutex for the environment and lock it for the
duration of the test, ensuring these tests do not interfere with each other.

Reviewed By: jsgf

Differential Revision: D14615394

fbshipit-source-id: 9f123668d93223655514db2ae34b05354a6b578c
2019-03-26 07:33:23 -07:00

24 lines
376 B
TOML

[package]
name = "configparser"
version = "0.1.0"
edition = "2018"
[dependencies]
bytes = "0.4.10"
dirs = "1.0.4"
failure = "0.1.2"
failure_derive = "0.1.2"
indexmap = "1.0.1"
pest = "2.1.0"
pest_derive = "2.1.0"
shellexpand = "1.0.0"
[dev-dependencies]
lazy_static = "1.3.0"
minibench = { path = "../minibench" }
tempdir = "0.3.7"
[[bench]]
name = "bench"
harness = false