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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment