[Bug 12246] "make test" gives different results with and without warn+heap