lib/build/analyzers/ncover.step in uppercutbuild-0.9.0.331 vs lib/build/analyzers/ncover.step in uppercutbuild-0.9.0.334
- old
+ new
@@ -39,11 +39,11 @@
<property name="file.custom.step.after" value="${dirs.build_scripts_custom}\${file.current.no_extension}.post.step" />
<property name="file.custom.step.replace" value="${dirs.build_scripts_custom}\${file.current.no_extension}.replace.step" />
<property name="is.replaced" value="false" />
<property name="fail.build.on.error" value="false" />
- <target name="go" depends="run_tasks" if="${file::exists(app.ncover)}" />
+ <target name="go" depends="run_tasks" if="${file::exists(app.ncover) and test.framework !='none'}" />
<target name="run_tasks">
<echo message="Running ${project::get-name()} tasks." />
<call target="prepare" if="${target::exists('prepare')}" />
<call target="custom_tasks_before" if="${target::exists('custom_tasks_before')}" />
@@ -53,10 +53,10 @@
</target>
<target name="run_normal_tasks"
depends="get_test_dlls, ncover, ncover_explorer"
description="Using NCover to Analyze project for test quality indicators."
- if="${file::exists(app.ncover)}" />
+ if="${file::exists(app.ncover) and test.framework !='none'}" />
<target name="custom_tasks_before">
<echo message="Running custom tasks if ${file.custom.step.before} exists." />
<nant buildfile="${file.custom.step.before}" inheritall="true" if="${file::exists(file.custom.step.before)}" failonerror="${fail.build.on.error}" />
<exec program="powershell.exe" if="${file::exists(file.custom.step.before + '.ps1')}" failonerror="${fail.build.on.error}">
\ No newline at end of file