Commit 8123fb24 authored by Philip Carns's avatar Philip Carns

convert test scripts to use $srcdir

parent 5c0e95f9
......@@ -24,8 +24,6 @@
.dirstamp
*.o
*.a
/tests/modelnet-test
/tests/modelnet-test.sh
# hide backups
*~
......
......@@ -66,9 +66,4 @@ AC_SUBST(CODES_BASE_CFLAGS)
includedir="${includedir}/codes"
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([tests/modelnet-test.sh],[chmod +x tests/modelnet-test.sh])
AC_CONFIG_FILES([tests/modelnet-test-dragonfly.sh],[chmod +x tests/modelnet-test-dragonfly.sh])
AC_CONFIG_FILES([tests/modelnet-test-torus.sh],[chmod +x tests/modelnet-test-torus.sh])
AC_CONFIG_FILES([tests/modelnet-test-loggp.sh],[chmod +x tests/modelnet-test-loggp.sh])
AC_CONFIG_FILES([tests/modelnet-p2p-bw-loggp.sh],[chmod +x tests/modelnet-p2p-bw-loggp.sh])
AC_OUTPUT(maint/codes-net.pc tests/modelnet-p2p-bw-loggp.conf tests/modelnet-test-loggp.conf)
#!/bin/bash
abs_srcdir=@abs_srcdir@
tests/modelnet-p2p-bw --sync=1 -- tests/modelnet-p2p-bw-loggp.conf
#!/bin/bash
if [ -z $srcdir ]; then
echo srcdir variable not set.
exit 1
fi
tests/modelnet-test --sync=1 -- $srcdir/tests/modelnet-test-dragonfly.conf
#!/bin/bash
abs_srcdir=@abs_srcdir@
tests/modelnet-test --sync=1 -- $abs_srcdir/modelnet-test-dragonfly.conf
#!/bin/bash
abs_srcdir=@abs_srcdir@
tests/modelnet-test --sync=1 -- tests/modelnet-test-loggp.conf
#!/bin/bash
if [ -z $srcdir ]; then
echo srcdir variable not set.
exit 1
fi
tests/modelnet-test --sync=1 -- $srcdir/tests/modelnet-test-torus.conf
#!/bin/bash
abs_srcdir=@abs_srcdir@
tests/modelnet-test --sync=1 -- $abs_srcdir/modelnet-test-torus.conf
#!/bin/bash
if [ -z $srcdir ]; then
echo srcdir variable not set.
exit 1
fi
tests/modelnet-test --sync=1 -- $srcdir/tests/modelnet-test.conf
#!/bin/bash
abs_srcdir=@abs_srcdir@
tests/modelnet-test --sync=1 -- $abs_srcdir/modelnet-test.conf
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