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

Renamed test preconditions in xml files

parent 82ce3a0c
Branches
Tags
No related merge requests found
<?xml version="1.0" encoding="windows-1252"?> <?xml version="1.0" encoding="windows-1252"?>
<project name="TSKTestTargets"> <project name="TSKTestTargets">
<target name="test1" <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."
depends="compile-test, depender" depends="compile-test, depender"
if="pres"> if="pres">
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</junit> </junit>
<property name="imp" value="true"/> <property name="imp" value="true"/>
</target> </target>
<target name="test-create-standards1" <target name="test-create-standards-precond"
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">
......
<?xml version="1.0" encoding="windows-1252"?> <?xml version="1.0" encoding="windows-1252"?>
<project name="TSKTestTargets"> <project name="TSKTestTargets">
<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="test1" <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."
depends="compile-test" > depends="compile-test" >
<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."/>
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
</junit> </junit>
<property name="imp" value="true"/> <property name="imp" value="true"/>
</target> </target>
<target name="test-create-standards1" <target name="test-create-standards-precond"
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" >
<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."/>
......
...@@ -133,11 +133,11 @@ pattern="lib/[artifact]-[revision](-[classifier]).[ext]" /> ...@@ -133,11 +133,11 @@ pattern="lib/[artifact]-[revision](-[classifier]).[ext]" />
</target> </target>
<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, test1"> depends="compile-test, test-precond">
</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-standards1" depends="compile-test, test-create-standards-precond"
unless="imp"> unless="imp">
<echo message="Run make install on The Sleuthkit"/> <echo message="Run make install on The Sleuthkit"/>
</target> </target>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment