From db15ede1d671466124f393daf6b58b997d8fa581 Mon Sep 17 00:00:00 2001 From: Sean-M <Smoss117@gmail.com> Date: Tue, 12 Feb 2013 10:24:03 -0500 Subject: [PATCH] Renamed test preconditions in xml files --- bindings/java/build-unix.xml | 4 ++-- bindings/java/build-windows.xml | 4 ++-- bindings/java/build.xml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bindings/java/build-unix.xml b/bindings/java/build-unix.xml index 84748bc7f..ecaa77908 100644 --- a/bindings/java/build-unix.xml +++ b/bindings/java/build-unix.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1252"?> <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." depends="compile-test, depender" if="pres"> @@ -15,7 +15,7 @@ </junit> <property name="imp" value="true"/> </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." depends="compile-test, depender" if="pres"> diff --git a/bindings/java/build-windows.xml b/bindings/java/build-windows.xml index 9aa92e7b6..8000eb044 100644 --- a/bindings/java/build-windows.xml +++ b/bindings/java/build-windows.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="windows-1252"?> <project name="TSKTestTargets"> <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." depends="compile-test" > <fail unless="ewfFound" message="LIBEWF_HOME must be set as an environment variable."/> @@ -16,7 +16,7 @@ </junit> <property name="imp" value="true"/> </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." depends="compile-test" > <fail unless="ewfFound" message="LIBEWF_HOME must be set as an environment variable."/> diff --git a/bindings/java/build.xml b/bindings/java/build.xml index ef9ad39a0..85bfaccbf 100755 --- a/bindings/java/build.xml +++ b/bindings/java/build.xml @@ -133,11 +133,11 @@ pattern="lib/[artifact]-[revision](-[classifier]).[ext]" /> </target> <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." - depends="compile-test, test1"> + depends="compile-test, test-precond"> </target> <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." - depends="compile-test, test-create-standards1" + depends="compile-test, test-create-standards-precond" unless="imp"> <echo message="Run make install on The Sleuthkit"/> </target> -- GitLab