freebsd-skq/usr.bin/hexdump/tests/Makefile
kevans 81cd0cfc2f hexdump: tests: take into account byte order
Hexdump test was failling on big endian systems when testing decimal, octal
and hexa outputs as the tests were designed on a little endian system. This
revision adds the two distinct flavors of output expected and determines at
runtime which to compare against.

Submitted by:	Renato Riolino <renato.riolino_eldorado.org.br>
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D23191
2020-03-02 18:40:34 +00:00

43 lines
1.4 KiB
Makefile

# $FreeBSD$
PACKAGE= tests
ATF_TESTS_SH= hexdump_test od_test
${PACKAGE}FILES+= d_hexdump_a.in
${PACKAGE}FILES+= d_hexdump_b.in
${PACKAGE}FILES+= d_hexdump_c.in
${PACKAGE}FILES+= d_hexdump_bflag_a.out
${PACKAGE}FILES+= d_hexdump_bflag_b.out
${PACKAGE}FILES+= d_hexdump_bflag_c.out
${PACKAGE}FILES+= d_hexdump_cflag_a.out
${PACKAGE}FILES+= d_hexdump_cflag_b.out
${PACKAGE}FILES+= d_hexdump_cflag_c.out
${PACKAGE}FILES+= d_hexdump_dflag_a_el.out
${PACKAGE}FILES+= d_hexdump_dflag_b_el.out
${PACKAGE}FILES+= d_hexdump_dflag_c_el.out
${PACKAGE}FILES+= d_hexdump_dflag_a_eb.out
${PACKAGE}FILES+= d_hexdump_dflag_b_eb.out
${PACKAGE}FILES+= d_hexdump_dflag_c_eb.out
${PACKAGE}FILES+= d_hexdump_nflag_a.out
${PACKAGE}FILES+= d_hexdump_oflag_a_el.out
${PACKAGE}FILES+= d_hexdump_oflag_b_el.out
${PACKAGE}FILES+= d_hexdump_oflag_c_el.out
${PACKAGE}FILES+= d_hexdump_oflag_a_eb.out
${PACKAGE}FILES+= d_hexdump_oflag_b_eb.out
${PACKAGE}FILES+= d_hexdump_oflag_c_eb.out
${PACKAGE}FILES+= d_hexdump_sflag_a.out
${PACKAGE}FILES+= d_hexdump_UCflag_a.out
${PACKAGE}FILES+= d_hexdump_UCflag_b.out
${PACKAGE}FILES+= d_hexdump_UCflag_c.out
${PACKAGE}FILES+= d_hexdump_xflag_a_el.out
${PACKAGE}FILES+= d_hexdump_xflag_b_el.out
${PACKAGE}FILES+= d_hexdump_xflag_c_el.out
${PACKAGE}FILES+= d_hexdump_xflag_a_eb.out
${PACKAGE}FILES+= d_hexdump_xflag_b_eb.out
${PACKAGE}FILES+= d_hexdump_xflag_c_eb.out
${PACKAGE}FILES+= d_od_cflag_a.out
${PACKAGE}FILES+= d_od_cflag_b.out
.include <bsd.test.mk>