AT_INIT AT_BANNER([Regression tests.]) # Example for tests.. copy and uncomment. This creates a new category # and test. It will copy the expected output to expout and then run # the given test. The stdout will be compared with the expout to determine # if the test was successfull. # AT_SETUP([NAME]) # AT_KEYWORDS([NAME]) # cat $abs_srcdir/NAME/NAME_test.ok > expout # AT_CHECK([$abs_top_builddir/tests/NAME/NAME_test], [], [expout]) # AT_CLEANUP AT_SETUP([ipa_recv]) AT_KEYWORDS([ipa_recv]) cat $abs_srcdir/ipa_recv/ipa_recv_test.ok > expout AT_CHECK([$abs_top_builddir/tests/ipa_recv/ipa_recv_test], [], [expout],[ignore]) AT_CLEANUP AT_SETUP([subchan_demux]) AT_KEYWORDS([subchan_demux]) cat $abs_srcdir/subchan_demux/subchan_demux_test.ok > expout AT_CHECK([$abs_top_builddir/tests/subchan_demux/subchan_demux_test], [], [expout]) AT_CLEANUP AT_SETUP([rtp_test]) AT_KEYWORDS([rtp_test]) AT_SKIP_IF([test "x$ENABLE_ORTP" != "xyes"]) cat $abs_srcdir/rtp_test/rtp_test.ok > expout AT_CHECK([$abs_top_builddir/tests/rtp_test/rtp_test], [ignore], [expout]) AT_CLEANUP AT_SETUP([raa_prime_encode]) AT_KEYWORDS([raa_prime_encode]) cat $abs_srcdir/raa_prime/nokia-tcsm2-atrau.hex > expout AT_CHECK([$abs_top_builddir/tests/raa_prime/test_enc $abs_srcdir/raa_prime/d144-ul-input.asc], [0], [expout], [ignore]) AT_CLEANUP AT_SETUP([raa_prime_decode]) AT_KEYWORDS([raa_prime_decode]) cat $abs_srcdir/raa_prime/d144-ul-input.asc > expout AT_CHECK([$abs_top_builddir/tests/raa_prime/test_dec $abs_srcdir/raa_prime/nokia-tcsm2-atrau.hex], [0], [expout], [ignore]) AT_CLEANUP AT_SETUP([trau_sync]) AT_KEYWORDS([trau_sync]) cat $abs_srcdir/trau_sync/trau_sync_test.ok > expout cat $abs_srcdir/trau_sync/trau_sync_test.err > experr AT_CHECK([$abs_top_builddir/tests/trau_sync/trau_sync_test], [0], [expout], [experr]) AT_CLEANUP AT_SETUP([trau_pcu_ericsson]) AT_KEYWORDS([trau_pcu_ericsson]) cat $abs_srcdir/trau_pcu_ericsson/trau_pcu_ericsson_test.ok > expout AT_CHECK([$abs_top_builddir/tests/trau_pcu_ericsson/trau_pcu_ericsson_test], [0], [expout], [ignore]) AT_CLEANUP AT_SETUP([trau2rtp_fr_std]) AT_KEYWORDS([trau2rtp_fr_std]) cat $abs_srcdir/trau_conv/trau16_fr_std.ok > expout AT_CHECK([$abs_top_builddir/tests/trau_conv/trau16_to_rtp $abs_srcdir/trau_conv/trau16_fr.in ul std], [0], [expout], [ignore]) AT_CLEANUP AT_SETUP([trau2rtp_fr_twts001]) AT_KEYWORDS([trau2rtp_fr_twts001]) cat $abs_srcdir/trau_conv/trau16_fr_twts001.ok > expout AT_CHECK([$abs_top_builddir/tests/trau_conv/trau16_to_rtp $abs_srcdir/trau_conv/trau16_fr.in ul tw-ts-001], [0], [expout], [ignore]) AT_CLEANUP AT_SETUP([trau2rtp_efr_std]) AT_KEYWORDS([trau2rtp_efr_std]) cat $abs_srcdir/trau_conv/trau16_efr_std.ok > expout AT_CHECK([$abs_top_builddir/tests/trau_conv/trau16_to_rtp $abs_srcdir/trau_conv/trau16_efr.in ul std], [0], [expout], [ignore]) AT_CLEANUP AT_SETUP([trau2rtp_efr_twts001]) AT_KEYWORDS([trau2rtp_efr_twts001]) cat $abs_srcdir/trau_conv/trau16_efr_twts001.ok > expout AT_CHECK([$abs_top_builddir/tests/trau_conv/trau16_to_rtp $abs_srcdir/trau_conv/trau16_efr.in ul tw-ts-001], [0], [expout], [ignore]) AT_CLEANUP