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

Minor Fixes to build

parent db15ede1
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
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, depender" depends="compile-test, depender"
if="pres"> if="pres">
<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}"/>
<sysproperty key="gold" value="${test-standards}"/> <sysproperty key="gold" value="${test-standards}"/>
...@@ -19,7 +18,6 @@ ...@@ -19,7 +18,6 @@
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, depender" depends="compile-test, depender"
if="pres"> if="pres">
<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}"/>
<sysproperty key="inpt" value="${test-input}"/> <sysproperty key="inpt" value="${test-input}"/>
......
<?xml version="1.0" encoding="windows-1252"?> <?xml version="1.0" encoding="windows-1252"?>
<project name="TSKTestTargets"> <project name="TSKTestTargets">
<!-- some dlls come from LIBEWF_HOME -->
<property environment="env"/>
<condition property="ewfFound">
<isset property="env.LIBEWF_HOME"/>
</condition>
<property name="dlls" value="${env.LIBEWF_HOME}/msvscpp/zlib;${env.LIBEWF_HOME}/msvscpp/Release;../../win32/Release"/> <property name="dlls" value="${env.LIBEWF_HOME}/msvscpp/zlib;${env.LIBEWF_HOME}/msvscpp/Release;../../win32/Release"/>
<target name="test-precond" <target name="test-precond"
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."
......
...@@ -9,15 +9,7 @@ ...@@ -9,15 +9,7 @@
<os family="windows"/> <os family="windows"/>
</condition> </condition>
<import file="build-${os.family}.xml"/> <import file="build-${os.family}.xml"/>
<!-- some dlls come from LIBEWF_HOME -->
<property environment="env"/>
<condition property="ewfFound">
<or>
<isset property="env.LIBEWF_HOME"/>
<os family="unix"/>
</or>
</condition>
<!-- 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"/>
<property name="build" location="build/"/> <property name="build" location="build/"/>
...@@ -134,11 +126,11 @@ pattern="lib/[artifact]-[revision](-[classifier]).[ext]" /> ...@@ -134,11 +126,11 @@ pattern="lib/[artifact]-[revision](-[classifier]).[ext]" />
<target name="test" <target name="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." 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, test-precond"> depends="compile-test, test-precond">
<fail if="imp" message="Run make install on The Sleuthkit."/>
</target> </target>
<target name="test-create-standards" <target name="test-create-standards"
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, test-create-standards-precond" depends="compile-test, test-create-standards-precond">
unless="imp"> <fail if="imp" message="Run make install on The Sleuthkit."/>
<echo message="Run make install on The Sleuthkit"/>
</target> </target>
</project> </project>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment