summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/cxprolog/cxprolog-0.98.2.ebuild')
-rw-r--r--dev-lang/cxprolog/cxprolog-0.98.2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-lang/cxprolog/cxprolog-0.98.2.ebuild b/dev-lang/cxprolog/cxprolog-0.98.2.ebuild
index e9054d7a336..69288df6b05 100644
--- a/dev-lang/cxprolog/cxprolog-0.98.2.ebuild
+++ b/dev-lang/cxprolog/cxprolog-0.98.2.ebuild
@@ -90,7 +90,11 @@ cxprolog_src_test() {
}
src_test() {
- virtx cxprolog_src_test
+ if use java || use wxwidgets; then
+ virtx cxprolog_src_test
+ else
+ cxprolog_src_test
+ fi
grep -q "ALL THE TESTS PASSED" "${S}"/cxprolog_test.log \
|| die "cxprolog unit tests failed"