diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-10-27 11:47:54 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-10-27 12:52:07 -0700 |
commit | af5271cd3ec6b86d7121201243c1678426e64b62 (patch) | |
tree | dca8821582503a114b737530b41ebff2418de05c /scripts/run_tests.sh | |
parent | 1421755434963cd4a35e7a4f757bf400f90528b7 (diff) | |
download | qtlocation-mapboxgl-af5271cd3ec6b86d7121201243c1678426e64b62.tar.gz |
[core] Fix gdb check for CI
Diffstat (limited to 'scripts/run_tests.sh')
-rwxr-xr-x | scripts/run_tests.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh index 692269e4f1..a4af39d5a9 100755 --- a/scripts/run_tests.sh +++ b/scripts/run_tests.sh @@ -24,7 +24,7 @@ if [ ! -d "test/node_modules/express" ]; then (cd test; npm install express@4.11.1) fi -if which -s 'gdb'; then +if command -v gdb >/dev/null 2>&1; then gdb -batch -return-child-result -ex 'set print thread-events off' \ -ex 'run' -ex 'thread apply all bt' --args ${CMD} ; else |