diff --git a/ChangeLog b/ChangeLog index 04605cd..e522bb1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-05-06 23:09 marc + + * ChangeLog, bootstrap.sh, doc/doxyfile.in, + scripts/doxygen-webtester.sed, scripts/example.wt, + scripts/makefile.am: better doxygen support + 2015-05-06 16:56 marc * debian/control.in: reprepo requires a section diff --git a/ax_init_standard_project.m4 b/ax_init_standard_project.m4 index c86e606..468a528 100644 --- a/ax_init_standard_project.m4 +++ b/ax_init_standard_project.m4 @@ -65,7 +65,7 @@ AC_DEFUN([AX_ADD_MAKEFILE_TARGET_DEP], [ # $1 = variable name AC_DEFUN([AX_SUBST], [ AC_SUBST([$1]) - tmp_var=$(echo "${$1}" | sed ':a;N;$!ba;s/\n/\\n/g') + tmp_var=$(echo "${$1}" | awk 1 ORS='\\n') tmp_var=${tmp_var//\"/\\\"} tmp_var=${tmp_var//\'/\'\"\'\"\'} tmp_var=${tmp_var//#/\\#} @@ -105,7 +105,7 @@ AC_DEFUN([AX_INIT_STANDARD_PROJECT], [ AX_SUBST(DISTRO) BUILD_NUMBER=${BUILD_NUMBER:-1} AX_SUBST(BUILD_NUMBER) - BUILD_DATE=$(date -R) + BUILD_DATE=$(date +"%Y-%m-%d %H:%M %Z") AX_SUBST(BUILD_DATE) if test -f "${PROJECT_NAME}-logo.png"; then PROJECT_LOGO="${PROJECT_NAME}-logo.png" @@ -365,8 +365,9 @@ AC_DEFUN([AX_PKG_REQUIRE], [ if test ${$1_found} -eq 0; then for p in /usr/include ${$1_CFLAGS}; do $1_file=$(find ${p#-I} -name $3) - if test -e ${$1_file}; then - $1_CFLAGS="${$1_CFLAGS} -I${$1_file%/*}" + if test -e "${$1_file}"; then + AC_MSG_NOTICE([Header file $3 found in sub path as ${$1_file}]) + $1_CFLAGS="${$1_CFLAGS} -I${$1_file%/$3}" $1_found=1 break fi @@ -396,7 +397,8 @@ AC_DEFUN([AX_PKG_REQUIRE], [ for p in /usr/include ${$1_CFLAGS}; do $1_file=$(find ${p#-I} -name $3) if test -e ${$1_file}; then - $1_CFLAGS="${$1_CFLAGS} -I${$1_file%/*}" + AC_MSG_NOTICE([Header file $3 found in sub path as ${$1_file}]) + $1_CFLAGS="${$1_CFLAGS} -I${$1_file%/$3}" $1_found=1 break fi diff --git a/bootstrap.sh b/bootstrap.sh index bbcbdf7..7862656 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -216,7 +216,7 @@ done HEADER='## @id '"\$Id\$"' # -# This file has been added by '${MY_NAME}' on '$(date -R)' +# This file has been added by '${MY_NAME}' on '$(date +"%Y-%m-%d %H:%M %Z")' # Feel free to change it or even remove and rebuild it, up to your needs # ## 1 2 3 4 5 6 7 8 diff --git a/docker/Dockerfile b/docker/Dockerfile index 33f51d8..33d10a1 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,5 +1,5 @@ -# docker build --pull --force-rm --rm -t dev0004:5000/libraries/webtester . -# docker push dev0004:5000/libraries/webtester +# docker build --pull --force-rm --rm -t dev0004:5000/library/webtester . +# docker push dev0004:5000/libray/webtester FROM ubuntu:latest MAINTAINER "Marc Wäckerlin" diff --git a/src/commands.hxx b/src/commands.hxx index a4888c2..d02f2d0 100644 --- a/src/commands.hxx +++ b/src/commands.hxx @@ -62,18 +62,6 @@ class Command: public QObject { int line() const { return _line; } - void testsuite(QString name) { - _testsuite = name; - } - QString testsuite() { - return _testsuite; - } - void targetdir(QString name) { - _targetdir = name; - } - QString targetdir() { - return _targetdir; - } bool log() { return _log; } @@ -123,6 +111,19 @@ class Command: public QObject { QCoreApplication::processEvents(QEventLoop::AllEvents, 100); } protected: + void subScript(std::shared_ptr