Skip to content

Commit bc96997

Browse files
committed
Merge pull request opencv#7805 from alalek:fix_java_test_2.4
2 parents 3d8395c + d42d155 commit bc96997

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/java/test/build.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<project>
2+
<property environment="env"/>
23
<property file="ant-${opencv.build.type}.properties"/>
34
<property name="test.dir" value="testResults"/>
45
<property name="build.dir" value="build"/>
@@ -39,7 +40,7 @@
3940
<mkdir dir="${test.dir}"/>
4041
<junit printsummary="true" haltonfailure="false" haltonerror="false" showoutput="true" logfailedtests="true" maxmemory="256m">
4142
<sysproperty key="java.library.path" path="${opencv.lib.path}"/>
42-
<env key="PATH" path="${opencv.lib.path}"/>
43+
<env key="PATH" path="${opencv.lib.path}:${env.PATH}:${env.Path}"/>
4344
<classpath refid="master-classpath"/>
4445
<classpath>
4546
<pathelement location="build/classes"/>

0 commit comments

Comments
 (0)