summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsetup.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 8bddefc3..ac65294e 100755
--- a/setup.py
+++ b/setup.py
@@ -452,11 +452,15 @@ class test(Command):
env = os.environ.copy()
env.pop("MSYSTEM", None)
+ env["MALLOC_PERTURB_"] = "85"
+ env["MALLOC_CHECK_"] = "3"
+ env["G_SLICE"] = "debug-blocks"
+
tests_dir = os.path.join(get_script_dir(), "tests")
- subprocess.check_call([
+ sys.exit(subprocess.call([
sys.executable,
os.path.join(tests_dir, "runtests.py"),
- ], env=env)
+ ], env=env))
class quality(Command):