diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-03-24 07:17:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-03-24 07:17:05 +0000 |
commit | 486d5176749922bf0eb1ffc7d99a4b1b62740be3 (patch) | |
tree | 11003906abc925aab4d6a900ededd2e430d8058a /src/test | |
parent | 1c9c2f9fcffdc5d66af6e4b3dbf506985ebe438a (diff) |
setup a bit of a test framework
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/Makefile | 2 | ||||
-rwxr-xr-x | src/test/runtests.sh (renamed from src/test/symbols.sh) | 11 |
2 files changed, 2 insertions, 11 deletions
diff --git a/src/test/Makefile b/src/test/Makefile index c3e879ea..d7fde60f 100644 --- a/src/test/Makefile +++ b/src/test/Makefile @@ -3,7 +3,7 @@ all: install: check test:: - ./symbols.sh + ./runtests.sh clean: rm -f *.out diff --git a/src/test/symbols.sh b/src/test/runtests.sh index 56fe0489..47bac3b1 100755 --- a/src/test/symbols.sh +++ b/src/test/runtests.sh @@ -1,11 +1,7 @@ #!/bin/sh top_srcdir=${top_srcdir:-../..} -srcdir=${builddir:-.} -top_builddir=${top_srcdir:-../..} -builddir=${builddir:-.} - -. ${top_srcdir}/sh/functions.sh +. ${top_srcdir}/test/setup_env.sh libeinfo_srcdir="${srcdir}/../libeinfo" libeinfo_builddir="${builddir}/../libeinfo" @@ -14,11 +10,6 @@ librc_builddir="${builddir}/../librc" rc_srcdir="${srcdir}/../rc" rc_builddir="${builddir}/../rc" -make -s -C ${rc_builddir} links - -export LD_LIBRARY_PATH=${libeinfo_builddir}:${librc_builddir}:${LD_LIBRARY_PATH} -export PATH=${rc_builddir}:${PATH} - checkit() { local base=$1; shift echo "$@" | tr ' ' '\n' > ${base}.out |