AT_INIT AT_BANNER([Regression tests.]) AT_SETUP([auc]) AT_KEYWORDS([auc]) cat $abs_srcdir/auc/auc_test.ok > expout cat $abs_srcdir/auc/auc_test.err > experr AT_CHECK([$abs_top_builddir/tests/auc/auc_test], [], [expout], [experr]) AT_CLEANUP AT_SETUP([auc_ts_55_205_test_sets]) AT_KEYWORDS([auc_ts_55_205_test_sets]) cat $abs_srcdir/auc/auc_ts_55_205_test_sets.ok > expout cat $abs_srcdir/auc/auc_ts_55_205_test_sets.err > experr AT_CHECK([$abs_top_builddir/tests/auc/auc_ts_55_205_test_sets], [], [expout], [experr]) AT_CLEANUP AT_SETUP([gsup]) AT_KEYWORDS([gsup]) cat $abs_srcdir/gsup/gsup_test.ok > expout cat $abs_srcdir/gsup/gsup_test.err > experr AT_CHECK([$abs_top_builddir/tests/gsup/gsup_test], [], [expout], [experr]) AT_CLEANUP AT_SETUP([db]) AT_KEYWORDS([db]) cat $abs_srcdir/db/db_test.ok > expout cat $abs_srcdir/db/db_test.err > experr sqlite3 db_test.db < $abs_top_srcdir/sql/hlr.sql AT_CHECK([$abs_top_builddir/tests/db/db_test], [], [expout], [experr]) AT_CLEANUP # AT_SKIP_IF: disable for old sqlite versions, because the way we dump tables in the test doesn't work with it. # https://lists.osmocom.org/pipermail/openbsc/2019-November/013063.html AT_SETUP([db_upgrade]) AT_SKIP_IF([ ! pkg-config sqlite3 --exists --atleast-version=3.16.2 ]) AT_KEYWORDS([db_upgrade]) cat $abs_srcdir/db_upgrade/db_upgrade_test.ok > expout cat $abs_srcdir/db_upgrade/db_upgrade_test.err > experr AT_CHECK([$abs_srcdir/db_upgrade/db_upgrade_test.sh $abs_srcdir/db_upgrade $abs_builddir/db_upgrade], [], [expout], [experr]) AT_CLEANUP AT_SETUP([mdns]) AT_KEYWORDS([mdns]) cat $abs_srcdir/mslookup/mdns_test.err > experr AT_CHECK([$abs_top_builddir/tests/mslookup/mdns_test], [0], [ignore], [experr]) AT_CLEANUP AT_SETUP([mslookup]) AT_KEYWORDS([mslookup]) cat $abs_srcdir/mslookup/mslookup_test.err > experr AT_CHECK([$abs_top_builddir/tests/mslookup/mslookup_test], [0], [ignore], [experr]) AT_CLEANUP AT_SETUP([mslookup_client]) AT_KEYWORDS([mslookup_client]) cat $abs_srcdir/mslookup/mslookup_client_test.err > experr AT_CHECK([$abs_top_builddir/tests/mslookup/mslookup_client_test], [0], [ignore], [experr]) AT_CLEANUP # AT_SKIP_IF: disable without --enable-mslookup-client-mdns-test (OS#4385) AT_SETUP([mslookup_client_mdns]) AT_SKIP_IF([! test -e $abs_top_builddir/tests/mslookup/mslookup_client_mdns_test ]) AT_KEYWORDS([mslookup_client_mdns]) cat $abs_srcdir/mslookup/mslookup_client_mdns_test.err > experr AT_CHECK([$abs_top_builddir/tests/mslookup/mslookup_client_mdns_test], [0], [ignore], [experr]) AT_CLEANUP