manticoresearch/valgrind
Alexey N. Vinogradov edfbd1db5b valgrind wrapper
Add support of memcheck pass with ctest. That is valgrind wrapper and
also bunch of other changes which makes it working.
That closes #2185
2021-07-02 19:57:46 +07:00

20 lines
240 B
Bash

#!/bin/bash
vlg="$vlg"
while [ -n "$1" ]
do
p="$1"
shift
vlg="$vlg $p"
if [ 'zsuppressions' = z"${p:2:12}" ]; then
break
fi
done
if [ -n "$1" ]; then
if [ 'zubertest' = z"${2:0:8}" ]; then
export VLG="$vlg"
fi
fi
$@