Test your websites with this simple GUI based scripted webtester. Generate simple testscripts directly from surfng on the webpage, enhance them with your commands, with variables, loops, checks, … and finally run automated web tests.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
## @id $Id$ |
|
|
|
## 1 2 3 4 5 6 7 8 |
|
## 45678901234567890123456789012345678901234567890123456789012345678901234567890 |
|
|
|
AC_INIT(webtester, 1.0.m4_esyscmd_s( |
|
LEAST="ERROR-UNDEFINED-REVISION-to-be-built-in-subdirectory-of-svn-checkout" |
|
for path in . .. ../..; do |
|
if svn info $path 2>&1 > /dev/null; then |
|
LEAST=$(LANG= svn info $path | sed -n 's/Last Changed Rev: //p') |
|
(cd $path && svn2cl) |
|
break; |
|
fi |
|
done |
|
echo -n $LEAST |
|
)) |
|
|
|
AM_INIT_AUTOMAKE([1.9 tar-pax]) |
|
|
|
AC_CONFIG_FILES(makefile src/makefile debian/changelog debian/control) |
|
|
|
AC_PROG_CXX |
|
AC_PROG_CC |
|
|
|
AC_CHECK_PROG([QMAKE], [qmake-qt5], [qmake-qt5]) |
|
AC_CHECK_PROG([QMAKE], [qtchooser], [qtchooser -run-tool=qmake -qt=5]) |
|
AC_CHECK_PROG([QMAKE], [qmake], [qmake]) |
|
if test -z "${QMAKE}"; then |
|
AC_MSG_ERROR([cannot find a qmake command]) |
|
fi |
|
|
|
README=$(tail -n +3 README) |
|
README_DEB=$(tail -n +3 README | sed -e 's/^$/./g' -e 's/^/ /g') |
|
DESCRIPTION=$(head -1 README) |
|
AUTHOR=$(head -1 AUTHORS) |
|
AC_SUBST(AUTHOR) |
|
_AM_SUBST_NOTMAKE([AUTHOR]) |
|
AC_SUBST(DESCRIPTION) |
|
_AM_SUBST_NOTMAKE([DESCRIPTION]) |
|
AC_SUBST(README) |
|
_AM_SUBST_NOTMAKE([README]) |
|
AC_SUBST(README_DEB) |
|
_AM_SUBST_NOTMAKE([README_DEB]) |
|
DISTRO=$(lsb_release -sc) |
|
AC_SUBST(DISTRO) |
|
BUILD_NUMBER=${BUILD_NUMBER:-1} |
|
AC_SUBST(BUILD_NUMBER) |
|
BUILD_DATE=$(date -R) |
|
AC_SUBST(BUILD_DATE) |
|
AC_OUTPUT
|
|
|