bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] [PATCH] Add valgrind testing support via ./configure


From: Tim Ruehsen
Subject: [Bug-wget] [PATCH] Add valgrind testing support via ./configure
Date: Wed, 08 Oct 2014 11:20:35 +0200
User-agent: KMail/4.14.1 (Linux/3.16-2-amd64; KDE/4.14.1; x86_64; ; )

Hi,

this patch allows for using valgrind memcheck for both test suites via

        ./configure --enable-valgrind-tests

With valgrind memcheck 24 (perl) tests fail due to lost memory blocks.
The python tests all survive (thanks to Darshits thorough testing).

Since valgrind is pretty slow, you can of course start a single test with
valgrind like

        cd tests
        export VALGRIND_TESTS="valgrind --error-exitcode01 --leak-check=full --
track-origins=yes"
        ./Test-N-smaller.px

This allows also testing with other tools or valgrind options (e.g. valgrind
--toolÊllgrind for performance tuning).

Tim

Attachment: 0001-add-.-configure-valgrind-support-to-test-suites.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]