Mercurial > hg
view rust/hg-cpython/Cargo.toml @ 44259:141ceec06b55
test: simplify test-amend.t to avoid race condition
Insted on relying on sleep, we could simply have the editor do the file change.
This remove the reliance on "sleep" and avoid test failing on heavy load
machine.
To test this, I reverted the code change in 5558e3437872 and the test started
failing again.
Differential Revision: https://phab.mercurial-scm.org/D8065
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 01 Feb 2020 09:14:36 +0100 |
parents | 25ed4d8e707f |
children | d8d4fa9a7f18 |
line wrap: on
line source
[package] name = "hg-cpython" version = "0.1.0" authors = ["Georges Racinet <gracinet@anybox.fr>"] edition = "2018" [lib] name='rusthg' crate-type = ["cdylib"] [features] default = ["python27"] # Features to build an extension module: python27 = ["cpython/python27-sys", "cpython/extension-module-2-7"] python3 = ["cpython/python3-sys", "cpython/extension-module"] # Enable one of these features to build a test executable linked to libpython: # e.g. cargo test --no-default-features --features python27-bin python27-bin = ["cpython/python27-sys"] python3-bin = ["cpython/python3-sys"] [dependencies] hg-core = { path = "../hg-core" } libc = '*' [dependencies.cpython] version = "0.4" default-features = false