lib/build/analyzers/test.step in uppercutbuild-1.4.0.0 vs lib/build/analyzers/test.step in uppercutbuild-1.4.1.0

- old
+ new

@@ -4,17 +4,17 @@ <!-- DO NOT EDIT THIS FILE - This follows a convention for testing with Integration tests being separated from Unit tests - find out more at http://uppercut.pbwiki.com --> <property name="build.config.settings" value="__NONE__" overwrite="false" /> <include buildfile="${build.config.settings}" if="${file::exists(build.config.settings)}" /> <property name="path.separator" value="${string::trim(path::combine(' ', ' '))}" /> <property name="file.current.no_extension" value="test" /> - <property name="dirs.current" value="${directory::get-parent-directory(project::get-buildfile-path())}" /> - <property name="path.to.toplevel" value="..${path.separator}.." /> + <property name="dirs.current" value="${directory::get-current-directory()}" /> + <property name="dirs.current.file" value="${directory::get-parent-directory(project::get-buildfile-path())}" /> <property name="folder.build_scripts" value="build" overwrite="false" /> <property name="folder.build_scripts_custom" value="build.custom" overwrite="false" /> - <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" /> + <property name="dirs.build_scripts_custom" value="${dirs.current}${path.separator}${folder.build_scripts_custom}${path.separator}analyzers" /> <property name="folder.code_build" value="build_output" overwrite="false" /> - <property name="dirs.build" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.code_build}" /> + <property name="dirs.build" value="${dirs.current}${path.separator}${folder.code_build}" /> <property name="folder.app.drop" value="${project.name}" overwrite="false" /> <property name="dirs.build.code" value="${dirs.build}${path.separator}${folder.app.drop}" overwrite="false" /> <property name="test.framework" value="mbunit" overwrite="false" /> <property name="is.replaced" value="false" /> <property name="fail.build.on.error" value="true" /> @@ -22,11 +22,11 @@ <property name="app.powershell" value="%WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe" overwrite="false" /> <target name="go" depends="load_uppercut_assemblies, run_tasks" /> <property name="file.uppercut.assembly" value="uppercut.tasks.dll" /> - <property name="path.uppercut.assembly" value="${dirs.current}${path.separator}${path.to.toplevel}${path.separator}${folder.build_scripts}${path.separator}${file.uppercut.assembly}" /> + <property name="path.uppercut.assembly" value="${dirs.current.file}${path.separator}..${path.separator}${file.uppercut.assembly}" /> <target name="load_uppercut_assemblies"> <loadtasks assembly="${path.uppercut.assembly}" if="${file::exists(path.uppercut.assembly)}" /> </target> <target name="run_tasks"> @@ -44,29 +44,29 @@ <target name="run_normal_tasks" depends="run_tests" description="Testing project for quality." /> <target name="run_tests"> - <nant buildfile="${dirs.current}${path.separator}mbunit2.test.step" inheritall="true" if="${test.framework=='mbunit2'}" /> - <nant buildfile="${dirs.current}${path.separator}gallio.test.step" inheritall="true" if="${test.framework=='gallio'}" /> - <nant buildfile="${dirs.current}${path.separator}nunit.test.step" inheritall="true" if="${test.framework=='nunit'}" /> - <nant buildfile="${dirs.current}${path.separator}xunit.test.step" inheritall="true" if="${test.framework=='xunit'}" /> + <nant buildfile="${dirs.current.file}${path.separator}mbunit2.test.step" inheritall="true" if="${test.framework=='mbunit2'}" /> + <nant buildfile="${dirs.current.file}${path.separator}gallio.test.step" inheritall="true" if="${test.framework=='gallio'}" /> + <nant buildfile="${dirs.current.file}${path.separator}nunit.test.step" inheritall="true" if="${test.framework=='nunit'}" /> + <nant buildfile="${dirs.current.file}${path.separator}xunit.test.step" inheritall="true" if="${test.framework=='xunit'}" /> <call target="set_normal_failure_mode" /> </target> <target name="all"> - <nant buildfile="${dirs.current}${path.separator}mbunit2.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='mbunit2'}" /> - <nant buildfile="${dirs.current}${path.separator}gallio.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='gallio'}" /> - <nant buildfile="${dirs.current}${path.separator}nunit.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='nunit'}" /> - <nant buildfile="${dirs.current}${path.separator}xunit.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='xunit'}" /> + <nant buildfile="${dirs.current.file}${path.separator}mbunit2.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='mbunit2'}" /> + <nant buildfile="${dirs.current.file}${path.separator}gallio.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='gallio'}" /> + <nant buildfile="${dirs.current.file}${path.separator}nunit.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='nunit'}" /> + <nant buildfile="${dirs.current.file}${path.separator}xunit.test.step" target="run_all_tests" inheritall="true" if="${test.framework=='xunit'}" /> <call target="set_normal_failure_mode" /> </target> <target name="open_results"> - <nant buildfile="${dirs.current}${path.separator}mbunit2.test.step" target="open_results" inheritall="true" if="${test.framework=='mbunit2'}" /> - <nant buildfile="${dirs.current}${path.separator}gallio.test.step" target="open_results" inheritall="true" if="${test.framework=='gallio'}" /> - <nant buildfile="${dirs.current}${path.separator}nunit.test.step" target="open_results" inheritall="true" if="${test.framework=='nunit'}" /> - <nant buildfile="${dirs.current}${path.separator}xunit.test.step" target="open_results" inheritall="true" if="${test.framework=='xunit'}" /> + <nant buildfile="${dirs.current.file}${path.separator}mbunit2.test.step" target="open_results" inheritall="true" if="${test.framework=='mbunit2'}" /> + <nant buildfile="${dirs.current.file}${path.separator}gallio.test.step" target="open_results" inheritall="true" if="${test.framework=='gallio'}" /> + <nant buildfile="${dirs.current.file}${path.separator}nunit.test.step" target="open_results" inheritall="true" if="${test.framework=='nunit'}" /> + <nant buildfile="${dirs.current.file}${path.separator}xunit.test.step" target="open_results" inheritall="true" if="${test.framework=='xunit'}" /> </target> <target name="set_normal_failure_mode"> <property name="nant.onfailure" value="fail" /> </target> \ No newline at end of file