Issue #407 run only offline tests

This commit is contained in:
Willem Toorop 2020-02-14 16:49:45 +01:00
parent ed36240f19
commit 56ca583fa6
3 changed files with 32 additions and 0 deletions

View File

@ -2,6 +2,8 @@
* Issue #432: answer_ipv4_address and answer_ipv6_address in reply * Issue #432: answer_ipv4_address and answer_ipv6_address in reply
and response dicts. and response dicts.
* Issue #430: Record and guard UDP max payload size with servers. * Issue #430: Record and guard UDP max payload size with servers.
* Issue #407: Run only offline-tests option with:
src/test/tpkg/run-offline-only.sh (only with git checkouts).
* 2019-12-20: Version 1.6.0-beta.1 * 2019-12-20: Version 1.6.0-beta.1
* Migration of build system to cmake. Build now works on Ubuntu, * Migration of build system to cmake. Build now works on Ubuntu,

View File

@ -15,3 +15,6 @@ https://github.com/astlinux-project/astlinux/tree/master/package/getdns
For Genode, created and maintained by Emery Hemingway (ehmry) For Genode, created and maintained by Emery Hemingway (ehmry)
https://github.com/genodelabs/genode/blob/master/repos/ports/ports/getdns.port https://github.com/genodelabs/genode/blob/master/repos/ports/ports/getdns.port
For Gentoo, created and maintained by CaseOf (Quentin R.?)
https://packages.gentoo.org/packages/net-dns/getdns

View File

@ -0,0 +1,27 @@
#!/bin/sh
export SRCDIR=`dirname $0`
. `dirname $0`/setup-env.sh
control_c()
# run if user hits control-c
{
echo -en "\n*** Exiting ***\n"
exit $?
}
for TEST_PKG in 080-iana-rr-types.tpkg 125-valgrind-checks.tpkg \
130-run-unit-tests.tpkg 225-stub-only-valgrind-checks.tpkg \
230-stub-only-run-unit-tests.tpkg 270-header-extension.tpkg \
290-transports.tpkg 330-event-loops-unit-tests.tpkg \
340-run-stubby.tpkg
do
"${TPKG}" $* fake "${TEST_PKG}"
done
for TEST_PKG in ${SRCDIR}/*.tpkg
do
"${TPKG}" $* exe "${TEST_PKG}"
# trap keyboard interrupt (control-c)
trap control_c 2
done
"${TPKG}" -n -1 r