AT_INIT
AT_BANNER([Regression tests.])

AT_SETUP([paging])
AT_KEYWORDS([paging])
cat $abs_srcdir/paging/paging_test.ok > expout
AT_CHECK([$OSMO_QEMU $abs_top_builddir/tests/paging/paging_test], [], [expout], [ignore])
AT_CLEANUP

AT_SETUP([agch])
AT_KEYWORDS([agch])
cat $abs_srcdir/agch/agch_test.ok > expout
AT_CHECK([$OSMO_QEMU $abs_top_builddir/tests/agch/agch_test], [], [expout], [ignore])
AT_CLEANUP

AT_SETUP([cipher])
AT_KEYWORDS([cipher])
cat $abs_srcdir/cipher/cipher_test.ok > expout
AT_CHECK([$OSMO_QEMU $abs_top_builddir/tests/cipher/cipher_test], [], [expout], [ignore])
AT_CLEANUP

AT_SETUP([misc])
AT_KEYWORDS([misc])
cat $abs_srcdir/misc/misc_test.ok > expout
AT_CHECK([$OSMO_QEMU $abs_top_builddir/tests/misc/misc_test], [], [expout], [ignore])
AT_CLEANUP

AT_SETUP([handover])
AT_KEYWORDS([handover])
cat $abs_srcdir/handover/handover_test.ok > expout
AT_CHECK([$abs_top_builddir/tests/handover/handover_test], [], [expout], [ignore])
AT_CLEANUP

AT_SETUP([ms_power_loop])
AT_KEYWORDS([power])
cat $abs_srcdir/power/ms_power_loop_test.ok > expout
cat $abs_srcdir/power/ms_power_loop_test.err > experr
AT_CHECK([$abs_top_builddir/tests/power/ms_power_loop_test], [], [expout], [experr])
AT_CLEANUP

AT_SETUP([bs_power_loop])
AT_KEYWORDS([power])
cat $abs_srcdir/power/bs_power_loop_test.ok > expout
cat $abs_srcdir/power/bs_power_loop_test.err > experr
AT_CHECK([$abs_top_builddir/tests/power/bs_power_loop_test], [], [expout], [experr])
AT_CLEANUP

AT_SETUP([tx_power])
AT_KEYWORDS([tx_power])
cat $abs_srcdir/tx_power/tx_power_test.ok > expout
cat $abs_srcdir/tx_power/tx_power_test.err > experr
AT_CHECK([$abs_top_builddir/tests/tx_power/tx_power_test], [], [expout], [experr])
AT_CLEANUP

AT_SETUP([meas])
AT_KEYWORDS([meas])
cat $abs_srcdir/meas/meas_test.ok > expout
cat $abs_srcdir/meas/meas_test.err > experr
AT_CHECK([$abs_top_builddir/tests/meas/meas_test], [], [expout], [experr])
AT_CLEANUP

AT_SETUP([ta_control])
AT_KEYWORDS([ta_control])
cat $abs_srcdir/ta_control/ta_control_test.ok > expout
AT_CHECK([$abs_top_builddir/tests/ta_control/ta_control_test], [], [expout], [ignore])
AT_CLEANUP

AT_SETUP([amr])
AT_KEYWORDS([amr])
cat $abs_srcdir/amr/amr_test.ok > expout
cat $abs_srcdir/amr/amr_test.err > experr
AT_CHECK([$abs_top_builddir/tests/amr/amr_test], [], [expout], [experr])
AT_CLEANUP

AT_SETUP([csd])
AT_KEYWORDS([csd])
cat $abs_srcdir/csd/csd_test.err > experr
AT_CHECK([$abs_top_builddir/tests/csd/csd_test], [], [ignore], [experr])
AT_CLEANUP
