mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 15:46:45 +00:00
Allow flexible location of valgrind
This commit is contained in:
parent
f46f128f4a
commit
3da751ea55
|
@ -104,8 +104,10 @@ if(ENABLE_TESTING)
|
||||||
)
|
)
|
||||||
|
|
||||||
ADD_CUSTOM_TARGET(memcheck
|
ADD_CUSTOM_TARGET(memcheck
|
||||||
|
COMMAND sed -i .bak s+/usr/bin/valgrind+`which valgrind`+ DartConfiguration.tcl
|
||||||
COMMAND ctest -O memcheck.log -D ExperimentalMemCheck
|
COMMAND ctest -O memcheck.log -D ExperimentalMemCheck
|
||||||
COMMAND tail -n1 memcheck.log | grep 'Memory checking results:' > /dev/null
|
COMMAND tail -n1 memcheck.log | grep 'Memory checking results:' > /dev/null
|
||||||
COMMAND rm -f memcheck.log
|
COMMAND rm -f memcheck.log
|
||||||
|
COMMAND mv DartConfiguration.tcl.bak DartConfiguration.tcl
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue