summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml5
-rw-r--r--Makefile.in5
2 files changed, 1 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index da5eafe..5ba69f0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,7 +12,7 @@ notifications:
on_failure: always
## Use the container-based infrastructure
-sudo: false
+sudo: required
dist: trusty
python:
- 2.7
@@ -75,7 +75,6 @@ matrix:
- gdb
- compiler: gcc
env: REAL_CC=gcc-5 REAL_CXX=g++-5 LDFLAGS="-fuse-ld=gold"
- sudo: true
addons:
apt:
sources:
@@ -88,7 +87,6 @@ matrix:
- gdb
- compiler: gcc
env: REAL_CC=gcc-6 REAL_CXX=g++-6 LDFLAGS="-fuse-ld=gold"
- sudo: true
addons:
apt:
sources:
@@ -101,7 +99,6 @@ matrix:
- gdb
- compiler: gcc
env: REAL_CC=gcc-6 REAL_CXX=g++-6 REAL_EXTRA=-fsanitize=address FORCE_TESTER='' ASAN_OPTIONS=detect_leaks=0 LDFLAGS="-fuse-ld=gold"
- sudo: true
addons:
apt:
sources:
diff --git a/Makefile.in b/Makefile.in
index 779ca04..7710ef2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -504,11 +504,6 @@ DTEST_STAMPS := $(patsubst bin/tests/%.elf,stamp/run-%.stamp,${DTEST_BINARIES})
${DTEST_OBJS}: override CXXFLAGS += -g -O0 -gdwarf-3
${DTEST_STAMPS}: override TESTER=${GDB} -return-child-result -nx -batch -ex 'python file_to_load = "$<"' -x ${SRC_DIR}/tools/debug-debug.gdb --args false
${DTEST_STAMPS}: tools/debug-debug.gdb
-ifeq '$(findstring clang,${CXX})' 'clang'
-${DTEST_STAMPS}:
- @echo "Error: sorry, but clang can't be used with gdb"
- -false
-endif
test: test-direct
test-direct: $(patsubst bin/tests/%.elf,stamp/run-%.stamp,${TEST_BINARIES})