diff options
author | Harald Welte <laforge@gnumonks.org> | 2017-05-15 12:07:51 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2017-05-15 13:42:00 +0200 |
commit | 3318c657dea52c143842dab0e0f7733288f7bd4d (patch) | |
tree | ef025d5907529f7d4f4614e6d110e54b9ca0e045 /tests/testsuite.at | |
parent | 054667fe15434e7e467311c7213b50f849aecc79 (diff) |
introduce byteswap.h with osmo_{htonl,ntohl,htons,ntohs}
We need to have an architecture-independend way of endian conversion /
byte swapping functions which will also work on embedded (bare iron)
builds. Let's introduce osmocom/core/bytesawp.h for this purpose.
Change-Id: Ibc0cc1e36d4ed63a35cf8ceff3af0f26e5ac7a3d
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r-- | tests/testsuite.at | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index 2f9cfe74..4c8950cb 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -268,3 +268,9 @@ cat $abs_srcdir/osmo-auc-gen/osmo-auc-gen_test.ok > expout cat $abs_srcdir/osmo-auc-gen/osmo-auc-gen_test.err > experr AT_CHECK([$abs_top_srcdir/tests/osmo-auc-gen/osmo-auc-gen_test.sh $abs_top_builddir/utils/osmo-auc-gen], [0], [expout], [experr]) AT_CLEANUP + +AT_SETUP([endian]) +AT_KEYWORDS([endian]) +cat $abs_srcdir/endian/endian_test.ok > expout +AT_CHECK([$abs_top_builddir/tests/endian/endian_test], [0], [expout], [ignore]) +AT_CLEANUP |