Skip to content

Commit

Permalink
Use batch instead of -silent to avoid interactive prompts in travis G…
Browse files Browse the repository at this point in the history
…DB...
  • Loading branch information
arr2036 committed Apr 4, 2014
1 parent 69c3b9d commit 702741f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ compiler:
- gcc
env:
global:
- PANIC_ACTION="gdb -silent -x raddb/panic.gdb %e %p 1>&2"
- PANIC_ACTION="gdb -batch -x raddb/panic.gdb %e %p 1>&2"
- secure: "jiTi/FJ6jUToW5WswK1W5Xdb6kqZnduUlyeW24kfVsWpKqBakBX2bxG1Ko8XGLACaO+s7NjyrLypeoW0kuh9KBL/rvFMcU5gD1lzC+h0POwTHckaZZYkc0OmY0KIG4utPHXFJjwB9ga8wPJc5c+uBn/gREtlpjg9J1V87Rm39gM="
matrix:
- LIBS_OPTIONAL=no LIBS_SHARED=yes
Expand All @@ -14,22 +14,22 @@ addons:
project:
name: FreeRADIUS/freeradius-server
version: master
description: The FreeRADIUS server project
description: The FreeRADIUS server project
notification_email: [email protected]
build_command_prepend: ./configure
build_command: make
branch_pattern: coverity_*
before_install:
- sudo apt-get update -qq
- >
sudo apt-get install --no-install-recommends -qq
- >
sudo apt-get install --no-install-recommends -qq
autoconf
build-essential
debhelper
devscripts
dh-make
fakeroot
gdb
gdb
lintian
pbuilder
python-dev
Expand Down
2 changes: 1 addition & 1 deletion src/tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ test.conf: dictionary
@echo 'logdir = $${testdir}' >> test.conf
@echo 'radacctdir = $${testdir}' >> test.conf
@echo 'pidfile = $${testdir}/radiusd.pid' >> test.conf
@echo 'panic_action = "gdb -silent -x ${testdir}/panic.gdb %e %p > ${testdir}/gdb.log 2>&1; cat ${testdir}/gdb.log"' >> test.conf
@echo 'panic_action = "gdb -batch -x ${testdir}/panic.gdb %e %p > ${testdir}/gdb.log 2>&1; cat ${testdir}/gdb.log"' >> test.conf
@echo '$$INCLUDE radiusd.conf' >> test.conf
@echo '$$INCLUDE $${testdir}/config/' >> test.conf

Expand Down
2 changes: 1 addition & 1 deletion src/tests/keywords/radiusd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

raddb = raddb
keyword = src/tests/keywords
panic_action = "gdb -silent -x ${raddb}/panic.gdb %e %p > /tmp/frut_gdb.log 2>&1; cat /tmp/frut_gdb.log"
panic_action = "gdb -batch -x ${raddb}/panic.gdb %e %p > /tmp/frut_gdb.log 2>&1; cat /tmp/frut_gdb.log"
modconfdir = ${raddb}/mods-config

modules {
Expand Down

0 comments on commit 702741f

Please sign in to comment.