projects
/
clawsker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f865519
)
Add testing setup
author
Ricardo Mones
<ricardo@mones.org>
Sun, 23 Dec 2018 10:22:24 +0000
(11:22 +0100)
committer
Ricardo Mones
<ricardo@mones.org>
Sun, 23 Dec 2018 10:22:24 +0000
(11:22 +0100)
.gitignore
patch
|
blob
|
history
Makefile
patch
|
blob
|
history
diff --git
a/.gitignore
b/.gitignore
index f0e97b8f6964225b735a12cb422c87560595b857..a1b477b9deb5097a47f64d98a20527a4c7197803 100644
(file)
--- a/
.gitignore
+++ b/
.gitignore
@@
-6,3
+6,4
@@
po/*.pox~
po/*.mo
/build/
/clawsker.1
+t/Clawsker.pm
diff --git
a/Makefile
b/Makefile
index c862b0bbc362b38f9a839429ed509d302110a3d2..0225b231a89639a4b12b34a0bd33e47eeba05a2c 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-90,5
+90,12
@@
clean: clean-build
rm -f *~
${MAKE} -C po clean
-.PHONY: all build install install-dirs install-icons-dirs install-icons uninstall uninstall-icons clean clean-build dist
+test-setup:
+ @test -h t/Clawsker.pm || ( cd t/ && ln -s ../clawsker Clawsker.pm )
+test: test-setup
+ @env DISPLAY= prove -It
+
+.PHONY: all build install install-dirs install-icons-dirs install-icons
+.PHONY: uninstall uninstall-icons clean clean-build dist
+.PHONY: test-setup test