[pl] Add tests for JPL
Petr Pisar
ppisar at fedoraproject.org
Thu Mar 8 14:57:44 UTC 2012
commit 63b9d326c5539afed12b4deb6019612f519c0feb
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Mar 8 15:17:09 2012 +0100
Add tests for JPL
tests/Makefile | 9 +++++----
tests/jpl/Makefile | 12 ++++++++++++
2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/tests/Makefile b/tests/Makefile
index 18bad73..55a8469 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -1,10 +1,11 @@
.PHONY: clean-c_binding c_binding
+.PHONY: clean-jpl jpl
-all: c_binding
-clean: clean-c_binding
+all: c_binding jpl
+clean: clean-c_binding clean-jpl
-c_binding:
+c_binding jpl:
$(MAKE) -C $@
-clean-c_binding:
+clean-c_binding clean-jpl:
$(MAKE) -C $(subst clean-,,$@) clean
diff --git a/tests/jpl/Makefile b/tests/jpl/Makefile
new file mode 100644
index 0000000..232fd91
--- /dev/null
+++ b/tests/jpl/Makefile
@@ -0,0 +1,12 @@
+.PHONY: run
+
+all: run
+
+run: java
+ cd java/Test && sh run.sh
+
+java: /usr/share/doc/pl-jpl-6.0.2/examples/java
+ cp -r $< $@
+
+clean:
+ rm -rf java
More information about the scm-commits
mailing list