mirror of
https://github.com/falk-werner/webfuse-provider
synced 2024-10-27 20:44:10 +00:00
b19a54d2f9
git-subtree-dir: build/dobuild git-subtree-split: b017db7c22e7c0ca6cee3f0f5ac1dd50f3b68eb9
16 lines
258 B
Bash
Executable File
16 lines
258 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
supports_memcheck_target() {
|
|
[ -f "$1" ] && grep -q '^memcheck$' "$1"
|
|
}
|
|
|
|
if supports_memcheck_target 'DoBuildFiles/targets.txt'; then
|
|
set -- cmake_adapter memcheck "$@"
|
|
else
|
|
assemble
|
|
set -- ctest_adapter -T memcheck "$@"
|
|
fi
|
|
|
|
exec "$@"
|
|
|