X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=NOTES.VALGRIND;h=afbb71e4aefde2109938a33de2e9d1e039bfcdee;hp=f128927c1a24be6d186e2b5b12b28387551bbdbf;hb=f529fc7d53bf4228fae61cb1efe73d97fe3eb35f;hpb=e616c11e170ef524b12e218537f4bf290057f8b7 diff --git a/NOTES.VALGRIND b/NOTES.VALGRIND index f128927c1a..afbb71e4ae 100644 --- a/NOTES.VALGRIND +++ b/NOTES.VALGRIND @@ -28,11 +28,11 @@ Test behavior can be modified by adjusting environment variables. EXE_SHELL This variable is used to specify the shell used to execute OpenSSL test -programs. The default program (util/shlib_wrap.sh) initializes the -environment to allow programs to find shared libraries. The variable can -be modified to specify a different executable environment. +programs. The default wrapper (util/wrap.pl) initializes the environment +to allow programs to find shared libraries. The variable can be modified +to specify a different executable environment. - EXE_SHELL="`/bin/pwd`/util/shlib_wrap.sh valgrind --error-exitcode=1 --leak-check=full -q" + EXE_SHELL="`/bin/pwd`/util/wrap.pl valgrind --error-exitcode=1 --leak-check=full -q" This will start up Valgrind with the default checker (memcheck). The --error-exitcode=1 option specifies that Valgrind should exit with an @@ -62,9 +62,9 @@ INSTALL file in the root of the OpenSSL source tree. Example command line: - make test EXE_SHELL="`/bin/pwd`/util/shlib_wrap.sh valgrind --error-exitcode=1 --leak-check=full -q" OPENSSL_ia32cap=":0" + make test EXE_SHELL="`/bin/pwd`/util/wrap.pl valgrind --error-exitcode=1 --leak-check=full -q" OPENSSL_ia32cap=":0" If an error occurs, you can then run the specific test via the TESTS variable with the VERBOSE option to gather additional information. - make test VERBOSE=1 TESTS=test_test EXE_SHELL="`/bin/pwd`/util/shlib_wrap.sh valgrind --error-exitcode=1 --leak-check=full -q" OPENSSL_ia32cap=":0" + make test VERBOSE=1 TESTS=test_test EXE_SHELL="`/bin/pwd`/util/wrap.pl valgrind --error-exitcode=1 --leak-check=full -q" OPENSSL_ia32cap=":0"