aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/Makefile2
-rwxr-xr-xsrc/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