Skip to content
Snippets Groups Projects
Commit 5e653ffc authored by Brian Carrier's avatar Brian Carrier
Browse files

dlls are only a build.xml req if you run a test

parent 64185df9
Branches
Tags
No related merge requests found
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
<condition property="ewfFound"> <condition property="ewfFound">
<isset property="env.LIBEWF_HOME"/> <isset property="env.LIBEWF_HOME"/>
</condition> </condition>
<fail unless="ewfFound" message="LIBEWF_HOME must be set as an environment variable."/>
<!-- set global properties for this build --> <!-- set global properties for this build -->
<property name="src" location="src/org/sleuthkit/datamodel"/> <property name="src" location="src/org/sleuthkit/datamodel"/>
...@@ -74,6 +73,7 @@ ...@@ -74,6 +73,7 @@
<target name="create-standards" depends="compile-test" <target name="create-standards" depends="compile-test"
description="create gold standards to run the datamodel tests against" > description="create gold standards to run the datamodel tests against" >
<fail unless="ewfFound" message="LIBEWF_HOME must be set as an environment variable."/>
<java classname="org.sleuthkit.datamodel.DiffUtil" classpathref="libraries" fork="true" failonerror="true"> <java classname="org.sleuthkit.datamodel.DiffUtil" classpathref="libraries" fork="true" failonerror="true">
<sysproperty key="java.library.path" value="${dlls}"/> <sysproperty key="java.library.path" value="${dlls}"/>
</java> </java>
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
<target name="test" depends="compile-test" <target name="test" depends="compile-test"
description="run the tests" > description="run the tests" >
<fail unless="ewfFound" message="LIBEWF_HOME must be set as an environment variable."/>
<junit fork="on" haltonfailure="yes" dir="."> <junit fork="on" haltonfailure="yes" dir=".">
<sysproperty key="java.library.path" value="${dlls}"/> <sysproperty key="java.library.path" value="${dlls}"/>
<classpath refid="libraries" /> <classpath refid="libraries" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment