Skip to content
Snippets Groups Projects
Commit 6039780f authored by Richard W.M. Jones's avatar Richard W.M. Jones
Browse files

tests: Only set MALLOC_CHECK_ and MALLOC_PERTURB_ in tests.

Previously these variables were set in the wrapper.  However the
wrapper has a dual purpose, as both a place to run nbdkit without
installation, and a way to run the tests.  When benchmarking, we don't
want malloc-check being used because of the overhead, but we still
want to run everything from the local directory for fast iteration.

Solution is to move these variables to TESTS_ENVIRONMENT so they only
run from tests.

See similar commit in libnbd:
libnbd@88e72dcb
parent 65d0d80d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment