chiark / gitweb /
test: udev, valgrind - track origins of uninitiaziled memory
authorTom Gundersen <teg@jklm.no>
Fri, 3 Apr 2015 15:27:45 +0000 (17:27 +0200)
committerTom Gundersen <teg@jklm.no>
Fri, 3 Apr 2015 15:27:45 +0000 (17:27 +0200)
test/udev-test.pl

index 126eab9..64d7f93 100755 (executable)
@@ -23,7 +23,7 @@ use strict;
 my $udev_bin            = "./test-udev";
 my $valgrind            = 0;
 my $gdb                 = 0;
-my $udev_bin_valgrind   = "valgrind --tool=memcheck --leak-check=yes --quiet $udev_bin";
+my $udev_bin_valgrind   = "valgrind --tool=memcheck --leak-check=yes --track-origins=yes --quiet $udev_bin";
 my $udev_bin_gdb        = "gdb --args $udev_bin";
 my $udev_dev            = "test/dev";
 my $udev_run            = "test/run";