Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
switch-to-tempfile.diff | =================================================================== | no | ||||
fix-tests-under-cargo-auto-test.diff | Fix running tests via cargo_auto_test. There are a few issues with running the tests under cargo_auto_test. cargo_auto_test sets CARGO_TARGET_DIR, this has a couple of implications, Firstly trying to reverse-engineer the crate root directory doesn't work. We use the CARGO_MANIFEST_DIR envvar instead. Secondly CARGO_TARGET_DIR needs to be unset before building the pint executable, otherwise it will end up in cargo_auto_test's target directory rather than the target directory for our test crate. Finally the Debian cargo wrapper always passess --target, we need to account for this when looking for the location of the "pint" executable. |
Peter Michael Green <plugwash@debian.org> | no |