Fix previous commit

(worked with BSD sed but no GNU sed...)
This commit is contained in:
Manuel Pégourié-Gonnard 2015-01-07 14:55:38 +01:00
parent 3da751ea55
commit d68b65199f

View file

@ -104,7 +104,7 @@ if(ENABLE_TESTING)
)
ADD_CUSTOM_TARGET(memcheck
COMMAND sed -i .bak s+/usr/bin/valgrind+`which valgrind`+ DartConfiguration.tcl
COMMAND sed -i.bak s+/usr/bin/valgrind+`which valgrind`+ DartConfiguration.tcl
COMMAND ctest -O memcheck.log -D ExperimentalMemCheck
COMMAND tail -n1 memcheck.log | grep 'Memory checking results:' > /dev/null
COMMAND rm -f memcheck.log