[gnumeric] tests: for valgrind tests, tell python to use malloc



commit a96c0120fb38f6fb1e1e710feb84b7aac05aa01a
Author: Morten Welinder <terra gnome org>
Date:   Sun Aug 30 12:59:22 2020 -0400

    tests: for valgrind tests, tell python to use malloc
    
    The idea that standards should be followed is foreign to the python
    crowd.

 test/GnumericTest.pm | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/test/GnumericTest.pm b/test/GnumericTest.pm
index df9b2ac4b..8ddf2c870 100644
--- a/test/GnumericTest.pm
+++ b/test/GnumericTest.pm
@@ -731,6 +731,7 @@ sub test_valgrind {
     local (%ENV) = %ENV;
     $ENV{'G_DEBUG'} .= ':gc-friendly:resident-modules';
     $ENV{'G_SLICE'} = 'always-malloc';
+    $ENV{'PYTHONMALLOC'} = 'malloc';
     delete $ENV{'VALGRIND_OPTS'};
 
     my $outfile = 'valgrind.log';


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]