Skip to content
Snippets Groups Projects
Commit a7106388 authored by Sean-M's avatar Sean-M
Browse files

mac test fixes

parent e7fde607
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
<project name="TSKTestTargets"> <project name="TSKTestTargets">
<target name="test1" <target name="test1"
description="Traverses the Images stored in the path represented by test-input variable, creates results files stored in the path represented by test-results, and compares them to the standards stored in the path represented by the test-standards variable, always run test-create-standards at least once before before running test." description="Traverses the Images stored in the path represented by test-input variable, creates results files stored in the path represented by test-results, and compares them to the standards stored in the path represented by the test-standards variable, always run test-create-standards at least once before before running test."
depends="compile-test" > depends="compile-test, depender"
if="pres">
<fail unless="ewfFound" message="LIBEWF_HOME must be set as an environment variable."/> <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="rslt" value="${test-results}"/> <sysproperty key="rslt" value="${test-results}"/>
...@@ -15,7 +16,8 @@ ...@@ -15,7 +16,8 @@
</target> </target>
<target name="test-create-standards1" <target name="test-create-standards1"
description="Traverses the Images stored in the path represented by test-input variable and creates then stores them to the path represented by the test-standards variable, run test-download-imgs at least once before this." description="Traverses the Images stored in the path represented by test-input variable and creates then stores them to the path represented by the test-standards variable, run test-download-imgs at least once before this."
depends="compile-test" > depends="compile-test, depender"
if="pres">
<fail unless="ewfFound" message="LIBEWF_HOME must be set as an environment variable."/> <fail unless="ewfFound" message="LIBEWF_HOME must be set as an environment variable."/>
<java classname="org.sleuthkit.datamodel.DataModelTestSuite" classpathref="libraries" fork="true" failonerror="true"> <java classname="org.sleuthkit.datamodel.DataModelTestSuite" classpathref="libraries" fork="true" failonerror="true">
<sysproperty key="gold" value="${test-standards}"/> <sysproperty key="gold" value="${test-standards}"/>
...@@ -23,4 +25,7 @@ ...@@ -23,4 +25,7 @@
<sysproperty key="types" value="${test-types}"/> <sysproperty key="types" value="${test-types}"/>
</java> </java>
</target> </target>
<target name="depender">
<available file="/usr/local/lib/libtsk_jni.a" property="pres"/>
</target>
</project> </project>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment