Commit 8a28c424 authored by Frediano Ziglio's avatar Frediano Ziglio

tests: Fix tests names

The test-hexdump was more an utility to test hexdump function instead
of a proper test.
Rename hexdump.sh to test-hexdump as this is the real test executed
during "make check".
Signed-off-by: Frediano Ziglio's avatarFrediano Ziglio <fziglio@redhat.com>
Acked-by: Lukáš Hrázký's avatarLukáš Hrázký <lhrazky@redhat.com>
parent 13ff728a
......@@ -13,27 +13,27 @@ AM_CFLAGS = \
$(NULL)
check_PROGRAMS = \
test-hexdump \
hexdump \
$(NULL)
TESTS = \
hexdump.sh \
test-hexdump.sh \
$(NULL)
noinst_PROGRAMS = \
$(check_PROGRAMS) \
$(NULL)
test_hexdump_SOURCES = \
test-hexdump.c \
hexdump_SOURCES = \
hexdump.c \
$(NULL)
test_hexdump_LDADD = \
hexdump_LDADD = \
../libstreaming-utils.a \
$(NULL)
EXTRA_DIST = \
hexdump.sh \
test-hexdump.sh \
hexdump1.in \
hexdump1.out \
hexdump2.in \
......
......@@ -12,7 +12,7 @@ for f in "$SRCDIR"/hexdump*.in; do
reference=`echo $f | sed 's,\.in,.out,'`
out=`basename $reference`.test
rm -f $out
./test-hexdump $out < $f
./hexdump $out < $f
cmp $out $reference
rm -f $out
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment