Comments (3)
@phodina thanks for reporting and sorry for the inconvenience. I am not familiar with guix. Is this some kind of replacement of package manager? Like cargo? Is the failing test you describe somehow reproducible without using guix?
from ntest.
Hi,
sorry for the long delay.
GNU Guix is a package manager similar to Nix.
The "main" idea is to break the Filesystem Hierarchy Standard and store packages in /gnu/store/
or /nix/store
.
This is done using prefixes and some modifications. The advantage is that we don't have a global state but each package is independent and we just symlink the whole system together. So we can have multiple version of the package and have generation of the OS therefore we can go always back if we break the system. Also the OS config is simple text config file.
This is very brief and high level overview.
Guix/Nix do follow the package build/test process. So in this case they also use cargo with some additional steps (patching the crates).
- https://guix.gnu.org/manual/en/html_node/Rust-Crates.html
- https://guix.gnu.org/en/blog/2018/bootstrapping-rust/
Is the failing test you describe somehow reproducible without using guix?
Unfortunately I don't have "classical" distro on my laptop. But, I could spin docker container e.g. Alpine or Arch and run the test there to check if it's Guix specific or distro agnostic.
I'll report once this is done, ok?
from ntest.
@phodina thanks for the explanation. I am not directly calling any OS specific functions but since the error ocures in timeout_inf_loop I am pretty sure that this line of code causes trouble:
thread::spawn(move || {
match sender.send(code()) {
Ok(()) => {} // All good
Err(_) => {} // Released, don't panic
}
});
What version of rust are you using?
from ntest.
Related Issues (12)
- Expected identifier error HOT 1
- Negative numbers HOT 1
- Add feature for async test of #[tokio::test] cases HOT 5
- timeout macro for tests which return Result HOT 3
- Since removing timebomb stuck tests do not timeout and fail HOT 3
- ntest broken against latest syn crate HOT 3
- `timeout` attribute reports timeout even when test panics HOT 3
- Version 0.8.1 not in repo? HOT 1
- Run & Debug links gone in VS Code 1.74.1 with Rust Analyzer v0.3.1325 HOT 4
- Rust Analyzer gives a warning (incorrect_ident_case) if `test_case` argument is an enum or struct
- New release HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ntest.