3
14
# run the test workspaces
4
for i in @TOP_SRCDIR@/test/workspaces/*; do
5
echo -n "testing `basename $i` ... "
6
if ! @TOP_SRCDIR@/src/nip2 --prefix=@TOP_SRCDIR@ --test $i ; then
16
for i in @TOP_SRCDIR@/test/workspaces/*; do
17
echo -n "testing `basename $i` ... "
18
@TOP_SRCDIR@/src/nip2 --prefix=@TOP_SRCDIR@ --test $i
13
23
# load all the example workspaces too
14
for i in @TOP_SRCDIR@/share/nip2/data/examples/*/*.ws; do
15
# have to skip these two, they use a non-free plugin
16
if test x"`basename $i`" = x"framing.ws" ; then
19
if test x"`basename $i`" = x"registering.ws" ; then
23
echo -n "testing `basename $i` ... "
25
if ! @TOP_SRCDIR@/src/nip2 --prefix=@TOP_SRCDIR@ --test $i ; then
25
for i in @TOP_SRCDIR@/share/nip2/data/examples/*/*.ws; do
26
# have to skip these two, they use a non-free plugin
27
if test x"`basename $i`" = x"framing.ws" ; then
30
if test x"`basename $i`" = x"registering.ws" ; then
34
echo -n "testing `basename $i` ... "
35
@TOP_SRCDIR@/src/nip2 --prefix=@TOP_SRCDIR@ --test $i
32
40
# run all the test scripts in scripts/, passing in @TOP_SRCDIR@ so they can
35
43
# these scripts put temp files here, we remove the dir on exit
38
for i in @TOP_SRCDIR@/test/scripts/*.sh; do
39
echo "running `basename $i`:"
40
if ! $i @TOP_SRCDIR@ ; then
41
echo "++ `basename $i` failed"
47
for i in @TOP_SRCDIR@/test/scripts/*.sh; do
48
echo "running `basename $i`:"
60
echo "repeating tests with the vectorising system disabled"