summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-04-18 17:08:20 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-04-18 17:08:20 +0300
commit87b27711d5081cfcb5b2c1f723e8441676eef009 (patch)
treeaa9b3db44d6f93680dc3227e76fd69fd94937a74 /scripts
parent6857002cb914db62ce7b79e6401e5758928a919c (diff)
downloadqtlocation-mapboxgl-87b27711d5081cfcb5b2c1f723e8441676eef009.tar.gz
[build] Make `run-glfw-app` not working on Linux
Diffstat (limited to 'scripts')
-rw-r--r--scripts/main.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/main.mk b/scripts/main.mk
index 0c86f39a8d..24c7792216 100644
--- a/scripts/main.mk
+++ b/scripts/main.mk
@@ -139,10 +139,10 @@ tidy: Ninja/compdb
#### Run tests #################################################################
run-glfw-app:
- $(PLATFORM_OUTPUT)/$(BUILDTYPE)/mapbox-glfw
+ cd $(PLATFORM_OUTPUT)/$(BUILDTYPE) && ./mapbox-glfw
run-valgrind-glfw-app:
- valgrind --leak-check=full --suppressions=../../../scripts/valgrind.sup $(PLATFORM_OUTPUT)/$(BUILDTYPE)/mapbox-glfw
+ cd $(PLATFORM_OUTPUT)/$(BUILDTYPE) && valgrind --leak-check=full --suppressions=../../../scripts/valgrind.sup ./mapbox-glfw
ifneq (,$(shell command -v gdb))
GDB = gdb -batch -return-child-result -ex 'set print thread-events off' -ex 'run' -ex 'thread apply all bt' --args