diff --git a/boards/native/Makefile.include b/boards/native/Makefile.include index b7ec469086..982910e678 100644 --- a/boards/native/Makefile.include +++ b/boards/native/Makefile.include @@ -33,7 +33,7 @@ endif endif export DEBUGGER = gdb -export TERMPROG = $(ELF) +export TERMPROG ?= $(ELF) export FLASHER = true export VALGRIND ?= valgrind export CGANNOTATE ?= cg_annotate diff --git a/dist/tools/travis-scripts/build_and_test.sh b/dist/tools/travis-scripts/build_and_test.sh index b3a248512d..5588e6032f 100755 --- a/dist/tools/travis-scripts/build_and_test.sh +++ b/dist/tools/travis-scripts/build_and_test.sh @@ -71,7 +71,7 @@ then if [ "$BUILDTEST_MCU_GROUP" == "x86" ] then - make -C ./tests/unittests all test BOARD=native || exit + make -C ./tests/unittests all-debug test BOARD=native TERMPROG='gdb -batch -ex r -ex bt $(ELF)' || exit # TODO: # Reenable once https://github.com/RIOT-OS/RIOT/issues/2300 is # resolved: