doc: Explain why we might need to clear the build hook
(cherry picked from commit 52d81586c671226ab2c1bbe0e1914c11b58239da)
This commit is contained in:
parent
7e347314bb
commit
625d17b0db
1 changed files with 4 additions and 1 deletions
|
|
@ -250,7 +250,10 @@ mod tests {
|
|||
fn setup() {
|
||||
(|| -> Result<()> {
|
||||
init()?;
|
||||
// If it reinvokes the test suite,
|
||||
// During development, we encountered a problem where the build hook
|
||||
// would cause the test suite to reinvokes itself, causing an infinite loop.
|
||||
// While _NIX_TEST_NO_SANDBOX=1 should prevent this, we may also set the
|
||||
// build hook to "" to prevent this.
|
||||
// settings::set("build-hook", "")?;
|
||||
|
||||
// When testing in the sandbox, the default build dir would be a parent of the storeDir,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue