Commit 093099f
committed
mdbook-cmdrun: skip tests that require hardcoded binary paths
Skip two tests that fail in the Nix sandbox because they attempt to
invoke the built binary from a hardcoded relative path
(../../target/debug/mdbook-cmdrun) which doesn't exist in the Nix
build environment where the binary is at target/release/mdbook-cmdrun.
The tests build_test_book and build_test_book_with_dynamic_src are
integration tests that test mdbook's interaction with the preprocessor,
but they make assumptions about the build directory structure that don't
hold in Nix.1 parent 194ba32 commit 093099f
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
31 | 38 | | |
32 | 39 | | |
33 | 40 | | |
| |||
0 commit comments