[Qt] Install valgrind on-demand
This commit is contained in:
2
Makefile
2
Makefile
@@ -242,9 +242,11 @@ run-qt-qml-app: qt-qml-app
|
||||
|
||||
test-valgrind-qt: $(QT_MAKEFILE) node_modules
|
||||
$(QT_ENV) $(MAKE) -j$(JOBS) -C $(QT_OUTPUT_PATH) test
|
||||
.mason/mason install valgrind latest
|
||||
./scripts/valgrind.sh $(QT_OUTPUT_PATH)/$(BUILDTYPE)/test --gtest_catch_exceptions=0 --gtest_filter=-*.Load
|
||||
|
||||
run-valgrind-qt-app: qt-app
|
||||
.mason/mason install valgrind latest
|
||||
./scripts/valgrind.sh $(QT_OUTPUT_PATH)/$(BUILDTYPE)/qmapboxgl --test -platform offscreen
|
||||
|
||||
#### Linux targets #####################################################
|
||||
|
||||
1
configure
vendored
1
configure
vendored
@@ -127,7 +127,6 @@ print_flags webp static_libs cflags ldflags
|
||||
print_flags jni.hpp cflags
|
||||
print_flags earcut cflags
|
||||
print_flags benchmark static_libs cflags ldflags
|
||||
print_flags valgrind
|
||||
|
||||
CONFIG+=" }
|
||||
}
|
||||
|
||||
@@ -28,8 +28,6 @@ if [ "$MASON_PLATFORM" == "osx" ]; then
|
||||
CONFIG+=" 'opengl_ldflags%': ['-framework OpenGL', '-framework CoreFoundation'],"$LN
|
||||
}
|
||||
else
|
||||
VALGRIND_VERSION=latest
|
||||
|
||||
function print_opengl_flags {
|
||||
CONFIG+=" 'opengl_cflags%': $(quote_flags $(pkg-config gl x11 --cflags)),"$LN
|
||||
CONFIG+=" 'opengl_ldflags%': $(quote_flags $(pkg-config gl x11 --libs)),"$LN
|
||||
|
||||
Reference in New Issue
Block a user