Repository navigation
Fix the tests of the C runtime with Cargo 1.100, and the vectors check - #21
Merged
Merged
Conversation
…specifications of vectors Cargo 1.100 gives each crate a folder of its own, so the shared library is no longer next to the test that links C with it. The test asks Cargo where it is. tests/test_robust.py loads copies of an .asni file with a bit changed, and those that load were each recorded as a specification. record.py now removes a specification that no vector names. Signed-off-by: Matheus Xavier <mxavier@boxtheta.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Rust workflow fails on
trunksince the 2.0.0-rc8 commit, intest-rust,runtime-candvectors-are-current.packages/asnkitrt-c/tests/c.rslooked for the shared library next to the test. Cargo 1.100 gives each crate a folder of its own, so the linker did not find-lasnkitrt_c. The test now asks Cargo where the library is. It passes with Rust 1.100.0 and 1.88.0.tests/test_robust.pyloads copies of an.asnifile with a bit changed, andrecord.pywrote each one that loads as a specification, 214 files that are in no vector. It now removes a specification that no vector names.vectors.jsonl.gzis the same, anda1607596889b181a.asni, which no vector named, is removed.All the jobs of the Rust, Python package, X.509 interoperability and Documentation workflows were run on Linux with this change, but the JVM build and the tests of the WebAssembly packages.