summaryrefslogtreecommitdiffhomepage
path: root/test/unit/applications/lang/java.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2020-03-10 18:10:42 +0000
committerAndrei Zeliankou <zelenkov@nginx.com>2020-03-10 18:10:42 +0000
commitf36f0f2461a7f0447e92f977ff9c0c71fcb08ffb (patch)
treeacbe2e5f719dd6b81312be0b03762013b68505d2 /test/unit/applications/lang/java.py
parent810b8dbb6798bd8ddcbafae7ecd9e5ee535c92f4 (diff)
downloadunit-f36f0f2461a7f0447e92f977ff9c0c71fcb08ffb.tar.gz
unit-f36f0f2461a7f0447e92f977ff9c0c71fcb08ffb.tar.bz2
Tests: redirect tests output to the stdout.
Diffstat (limited to 'test/unit/applications/lang/java.py')
-rw-r--r--test/unit/applications/lang/java.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/applications/lang/java.py b/test/unit/applications/lang/java.py
index a370d96b..a8a09ce5 100644
--- a/test/unit/applications/lang/java.py
+++ b/test/unit/applications/lang/java.py
@@ -1,7 +1,7 @@
import os
import glob
import shutil
-from subprocess import Popen
+import subprocess
from unit.applications.proto import TestApplicationProto
@@ -64,7 +64,7 @@ class TestApplicationJava(TestApplicationProto):
javac.extend(src)
try:
- process = Popen(javac)
+ process = subprocess.Popen(javac, stderr=subprocess.STDOUT)
process.communicate()
except: