test: add 'make update_exp' target

Add convenience target to update the test output.

Change-Id: I225dd3746200cad748ea09b2c3e1c7f9d006d32f
This commit is contained in:
Oliver Smith 2021-08-06 17:28:02 +02:00
parent 945be91032
commit 3f561bfbfe
1 changed files with 39 additions and 0 deletions

View File

@ -194,6 +194,45 @@ DISTCLEANFILES = atconfig
TESTSUITE = $(srcdir)/testsuite
update_exp:
rlcmac/RLCMACTest \
>$(srcdir)/rlcmac/RLCMACTest.ok \
2>$(srcdir)/rlcmac/RLCMACTest.err
alloc/MslotTest \
>$(srcdir)/alloc/MslotTest.ok
alloc/AllocTest \
>$(srcdir)/alloc/AllocTest.ok \
2>$(srcdir)/alloc/AllocTest.err
tbf/TbfTest \
2>$(srcdir)/tbf/TbfTest.err
bitcomp/BitcompTest \
>$(srcdir)/bitcomp/BitcompTest.ok \
2>$(srcdir)/bitcomp/BitcompTest.err
edge/EdgeTest \
>$(srcdir)/edge/EdgeTest.ok
types/TypesTest \
>$(srcdir)/types/TypesTest.ok \
2>$(srcdir)/types/TypesTest.err
ms/MsTest \
>$(srcdir)/ms/MsTest.ok \
2>$(srcdir)/ms/MsTest.err
llc/LlcTest \
>$(srcdir)/llc/LlcTest.ok \
2>$(srcdir)/llc/LlcTest.err
llist/LListTest \
>$(srcdir)/llist/LListTest.ok \
2>$(srcdir)/llist/LListTest.err
codel/codel_test \
>$(srcdir)/codel/codel_test.ok
fn/FnTest \
>$(srcdir)/fn/FnTest.ok
app_info/AppInfoTest \
>$(srcdir)/app_info/AppInfoTest.ok \
2>$(srcdir)/app_info/AppInfoTest.err
ulc/PdchUlcTest \
>$(srcdir)/ulc/PdchUlcTest.ok \
2>$(srcdir)/ulc/PdchUlcTest.err
# Python testing
if ENABLE_VTY_TESTS
python-tests: $(BUILT_SOURCES)