aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-12-08 21:23:45 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-12-08 21:23:45 +0000
commit85689f911104fa8dcf31b97cfa510a39755bf1ba (patch)
tree6c2eb7ae7a08cb8bc971983b0ea64dba52b45d2c
parent5af83c784ab47c787da30ab3127f35ddf4e7631e (diff)
added makefile which calls runtests.sh (with a settable PD)
svn path=/trunk/externals/iem/iemmatrix/; revision=6751
-rw-r--r--tests/Makefile9
-rwxr-xr-xtests/runtests.sh5
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/Makefile b/tests/Makefile
new file mode 100644
index 0000000..0176cda
--- /dev/null
+++ b/tests/Makefile
@@ -0,0 +1,9 @@
+default: nogui
+
+
+nogui:
+ sh runtests.sh
+
+gui:
+ sh runtests.sh -gui
+
diff --git a/tests/runtests.sh b/tests/runtests.sh
index 27c4972..312b3ea 100755
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -1,5 +1,10 @@
#!/bin/sh
+if [ "x${PD}" = "x" ]
+then
+ PD=pd
+fi
+
RUNTESTS_TXT=runtests.txt
RUNTESTS_LOG=runtests.log