f71bb351d2
This is an additional test suite on the top of the Nix ones for context strings matters. It already smoked out multiple mistakes and potential bugs and non-deterministic result from the evaluator. It uses a similar technology as the one in the tvix-eval albeit we instantiate a fully fledged evaluator with in-memory store. We copy the files instead of symlinking them because crates are built in isolation, so symlinks cannot work. Change-Id: I63ae225ce4f83c6e2c8ccd60d779c2f8eb9d08fb Reviewed-on: https://cl.tvl.fyi/c/depot/+/10619 Autosubmit: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de>
41 lines
981 B
TOML
41 lines
981 B
TOML
[package]
|
|
name = "tvix-glue"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
bstr = "1.6.0"
|
|
bytes = "1.4.0"
|
|
data-encoding = "2.3.3"
|
|
nix-compat = { path = "../nix-compat" }
|
|
tvix-build = { path = "../build", default-features = false, features = []}
|
|
tvix-eval = { path = "../eval" }
|
|
tvix-castore = { path = "../castore" }
|
|
tvix-store = { path = "../store", default-features = false, features = []}
|
|
tracing = "0.1.37"
|
|
tokio = "1.28.0"
|
|
thiserror = "1.0.38"
|
|
serde = "1.0.195"
|
|
serde_json = "1.0"
|
|
sha2 = "0.10.8"
|
|
|
|
[dependencies.wu-manber]
|
|
git = "https://github.com/tvlfyi/wu-manber.git"
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.5", features = ["html_reports"] }
|
|
lazy_static = "1.4.0"
|
|
pretty_assertions = "1.4.0"
|
|
rstest = "0.18.2"
|
|
tempfile = "3.8.1"
|
|
test-case = "3.3.1"
|
|
|
|
[features]
|
|
default = ["nix_tests"]
|
|
# Enables running the Nix language test suite from the original C++
|
|
# Nix implementation (at version 2.3) against Tvix.
|
|
nix_tests = []
|
|
|
|
[[bench]]
|
|
name = "eval"
|
|
harness = false
|