aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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