Skip to content

Commit

Permalink
*opts.tests: make sure we use --no-highlight
Browse files Browse the repository at this point in the history
sync make-chekc-filter.rb with that used in bashdb
Bump version to dev.
  • Loading branch information
rocky committed Dec 13, 2014
1 parent 975015e commit 2e3ee28
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 9 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
2014-12-12 rocky <rocky@gnu.org>

* ChangeLog, NEWS: Wrong date in NEWS. Release 0.9

2014-12-12 rocky <rocky@gnu.org>

* ChangeLog, Makefile.am, make-check-filter.rb,
Expand Down
1 change: 1 addition & 0 deletions Makefile.am
Expand Up @@ -72,6 +72,7 @@ if MAINTAINER_MODE
rmChangeLog:
rm ChangeLog || true

#: Create ChangeLog from version control
ChangeLog: rmChangeLog
git log --pretty --numstat --summary | $(GIT2CL) > $@

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
@@ -1,7 +1,7 @@
dnl Configure script for Shell debugger
define(DEBUGGER, zshdb)
define(POSIXSHELL, zsh)
AC_INIT([zshdb],[0.09],[rocky@gnu.org])
AC_INIT([zshdb],[0.1dev],[rocky@gnu.org])
AM_MAINTAINER_MODE
AM_INIT_AUTOMAKE([no-define])

Expand Down
7 changes: 5 additions & 2 deletions make-check-filter.rb
Expand Up @@ -9,9 +9,12 @@
'\(cd \.\.',
"make -C",
"Test-Unit",
"config.status",
"`flet'",
"^config.status",
'^shunit2: ',
'^##<<+$',
'^##>>+$',
'\s*$',
'`.+\' is up to date.$',
'##[<>]+$'
].join('|') + ')'
# puts pats
Expand Down
7 changes: 3 additions & 4 deletions test/integration/lopts.tests
@@ -1,6 +1,5 @@
#!/bin/zsh
# -*- shell-script -*-
#$Id: lopts.tests,v 1.7 2008/08/19 22:10:45 rockyb Exp $

[ -z "$srcdir" ] && srcdir=$PWD
[ -z "$builddir" ] && builddir=$PWD
Expand All @@ -11,10 +10,10 @@ quitcmd="${top_srcdir}/test/data/quit.cmd"
contcmd="${top_srcdir}/test/data/quit.cmd"
debugged_script="${top_srcdir}/test/example/dbg-test1.sh"

$SH ${top_builddir}/zshdb --no-init --help -q -L $top_builddir
$SH ${top_builddir}/zshdb --no-init --quiet -B --library $top_builddir \
$SH ${top_builddir}/zshdb --no-init --no-highlight --help -q -L $top_builddir
$SH ${top_builddir}/zshdb --no-init --no-highlight --quiet -B --library $top_builddir \
-x $quitcmd $debugged_script
$SH ${top_builddir}/zshdb --no-init --basename --quiet --library $top_builddir \
$SH ${top_builddir}/zshdb --no-init --no-highlight --basename --quiet --library $top_builddir \
-x $quitcmd $debugged_script
# $SH ${top_builddir}/zshdb -B -q -L $top_builddir -x $contcmd --command 'echo test1a'
# $SH ${top_builddir}/zshdb --basename --badopt -q -L $top_builddir \
Expand Down
4 changes: 2 additions & 2 deletions test/integration/sopts.tests
@@ -1,6 +1,6 @@
#!/bin/zsh -f
# -*- shell-script -*-
PS4='(%x:%I): [%?] zsh+
PS4='(%x:%I): [%?] zsh+
'
set -o shwordsplit

Expand All @@ -13,4 +13,4 @@ quitcmd="${top_srcdir}/test/data/quit.cmd"
contcmd="${top_srcdir}/test/data/quit.cmd"
debugged_script="${top_srcdir}/test/example/dbg-test1.sh"

$SH ${top_builddir}/zshdb -B --no-init -q -L $top_builddir -x $contcmd $debugged_script
$SH ${top_builddir}/zshdb -B --no-init --no-highlight -q -L $top_builddir -x $contcmd $debugged_script

0 comments on commit 2e3ee28

Please sign in to comment.