diff --git a/configure.in b/configure.in index b2ccb05..a8420f3 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ AC_INIT(Makefile.am) #AC_PREREQ(2.50) AC_CONFIG_AUX_DIR(config) AM_CONFIG_HEADER(config/config.h) -AM_INIT_AUTOMAKE(tclap,1.1.0) +AM_INIT_AUTOMAKE(tclap,1.2.0) AC_PROG_CXX AC_CXX_HAVE_SSTREAM AC_CXX_HAVE_STRSTREAM diff --git a/tests/Makefile.am b/tests/Makefile.am index ed675b2..c211b66 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -70,8 +70,9 @@ TESTS = test1.sh \ test68.sh \ test69.sh \ test70.sh \ + test71.sh \ test72.sh \ - test71.sh + test73.sh EXTRA_DIST = $(TESTS) \ test1.out \ @@ -145,6 +146,7 @@ EXTRA_DIST = $(TESTS) \ test69.out \ test70.out \ test71.out \ - test72.out + test72.out \ + test73.out CLEANFILES = tmp.out diff --git a/tests/test73.out b/tests/test73.out new file mode 100644 index 0000000..1b45a51 --- /dev/null +++ b/tests/test73.out @@ -0,0 +1,7 @@ +for float we got : 3.7 +for int we got : 1 +for string we got : asdf +for ulabeled we got : fff*fff +for bool A we got : 0 +for bool B we got : 0 +for bool C we got : 0 diff --git a/tests/test73.sh b/tests/test73.sh new file mode 100755 index 0000000..8556ca4 --- /dev/null +++ b/tests/test73.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# success tests whether * in UnlabeledValueArg passes +../examples/test2 -i 1 -s asdf fff*fff > tmp.out 2>&1 + +if cmp -s tmp.out $srcdir/test73.out; then + exit 0 +else + exit 1 +fi +