summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/lang/java.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/applications/lang/java.py')
-rw-r--r--test/unit/applications/lang/java.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/unit/applications/lang/java.py b/test/unit/applications/lang/java.py
index 40bf3662..bcf87f59 100644
--- a/test/unit/applications/lang/java.py
+++ b/test/unit/applications/lang/java.py
@@ -63,8 +63,12 @@ class TestApplicationJava(TestApplicationProto):
]
javac.extend(src)
- process = Popen(javac)
- process.communicate()
+ try:
+ process = Popen(javac)
+ process.communicate()
+
+ except:
+ self.fail('Cann\'t run javac process.')
self._load_conf(
{