change the nunit detection code
parent
4333bc7742
commit
7e9b12ac80
|
@ -195,15 +195,10 @@
|
||||||
<arg value="nunit-console2" />
|
<arg value="nunit-console2" />
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
<exec program="which" failonerror="false"
|
|
||||||
resultproperty="hasnunit">
|
|
||||||
<arg value="nunit-console" />
|
|
||||||
</exec>
|
|
||||||
|
|
||||||
<property name="nunitcmd" value="nunit-console2"
|
<property name="nunitcmd" value="nunit-console2"
|
||||||
if="${int::parse(hasnunit2)==0}" />
|
if="${int::parse(hasnunit2)==0}" />
|
||||||
<property name="nunitcmd" value="nunit-console"
|
<property name="nunitcmd" value="nunit-console"
|
||||||
if="${int::parse(hasnunit)==0}" />
|
if="${int::parse(hasnunit2)==1}" />
|
||||||
|
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue