Holger Hans Peter Freyther | 5c65e79 | 2012-10-11 08:05:14 +0200 | [diff] [blame] | 1 | AT_INIT |
| 2 | AT_BANNER([Regression tests.]) |
| 3 | |
| 4 | # Example for tests.. copy and uncomment. This creates a new category |
| 5 | # and test. It will copy the expected output to expout and then run |
| 6 | # the given test. The stdout will be compared with the expout to determine |
| 7 | # if the test was successfull. |
| 8 | # AT_SETUP([NAME]) |
| 9 | # AT_KEYWORDS([NAME]) |
| 10 | # cat $abs_srcdir/NAME/NAME_test.ok > expout |
| 11 | # AT_CHECK([$abs_top_builddir/tests/NAME/NAME_test], [], [expout]) |
| 12 | # AT_CLEANUP |
Holger Hans Peter Freyther | bc5dcb1 | 2012-10-11 08:25:36 +0200 | [diff] [blame] | 13 | |
Jacob Erlbeck | 36106ae | 2014-03-20 19:14:33 +0100 | [diff] [blame] | 14 | AT_SETUP([ipa_recv]) |
| 15 | AT_KEYWORDS([ipa_recv]) |
| 16 | cat $abs_srcdir/ipa_recv/ipa_recv_test.ok > expout |
| 17 | AT_CHECK([$abs_top_builddir/tests/ipa_recv/ipa_recv_test], [], [expout],[ignore]) |
| 18 | AT_CLEANUP |
| 19 | |
Holger Hans Peter Freyther | bc5dcb1 | 2012-10-11 08:25:36 +0200 | [diff] [blame] | 20 | AT_SETUP([subchan_demux]) |
| 21 | AT_KEYWORDS([subchan_demux]) |
| 22 | cat $abs_srcdir/subchan_demux/subchan_demux_test.ok > expout |
| 23 | AT_CHECK([$abs_top_builddir/tests/subchan_demux/subchan_demux_test], [], [expout]) |
| 24 | AT_CLEANUP |
Jacob Erlbeck | 36106ae | 2014-03-20 19:14:33 +0100 | [diff] [blame] | 25 | |
Harald Welte | 9104597 | 2020-03-08 22:23:30 +0100 | [diff] [blame] | 26 | AT_SETUP([rtp_test]) |
| 27 | AT_KEYWORDS([rtp_test]) |
| 28 | cat $abs_srcdir/rtp_test/rtp_test.ok > expout |
| 29 | AT_CHECK([$abs_top_builddir/tests/rtp_test/rtp_test], [ignore], [expout]) |
| 30 | AT_CLEANUP |
| 31 | |
Harald Welte | 78861c0 | 2020-05-14 13:28:07 +0200 | [diff] [blame] | 32 | AT_SETUP([trau_sync]) |
| 33 | AT_KEYWORDS([trau_sync]) |
| 34 | cat $abs_srcdir/trau_sync/trau_sync_test.ok > expout |
| 35 | cat $abs_srcdir/trau_sync/trau_sync_test.err > experr |
| 36 | AT_CHECK([$abs_top_builddir/tests/trau_sync/trau_sync_test], [0], [expout], [experr]) |
| 37 | AT_CLEANUP |