Simplify the tests Makefile to avoid repeating the name of each test.

This commit is contained in:
Eric Haszlakiewicz
2014-03-22 21:40:37 -04:00
parent e2bbb5664c
commit 936d036ea3
2 changed files with 20 additions and 18 deletions

12
tests/test_parse_int64.test Executable file
View File

@@ -0,0 +1,12 @@
#!/bin/sh
# Common definitions
if test -z "$srcdir"; then
srcdir="${0%/*}"
test "$srcdir" = "$0" && srcdir=.
test -z "$srcdir" && srcdir=.
fi
. "$srcdir/test-defs.sh"
run_output_test test_parse_int64
exit $?