Commit a7724c0

mo khan <mo@mokhan.ca>
2010-07-11 00:36:25
got the first mspec running from the build file.
1 parent 36ef466
build/project.build
@@ -5,6 +5,7 @@
 
 	<property name="base.dir" value="${directory::get-parent-directory(project::get-base-directory())}" />
 	<property name="product.dir" value="${base.dir}\product" />
+	<property name="thirdparty.dir" value="${base.dir}\thirdparty" />
 	
 	<property name="build.dir" value="${base.dir}\build" />
 	<property name="build.tools.dir" value="${build.dir}\tools" />
build/project.test.build
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="utf-8" ?>
 <project name="project.test">
-	<property name="test.output" value="tests.dll" />
+	<property name="test.output" value="unit.dll" />
 	<!--<property name="xunit.cons.exe" value="${build.tools.dir}\gallio\gallio.echo.exe" />-->
 	<!--<property name="xunit.cons.exe" value="${build.tools.dir}\nunit\nunit-console.exe" />-->
-	<property name="xunit.cons.exe" value="${build.tools.dir}\nunit\machine.specifications.consolerunner.exe" />
+	<property name="xunit.cons.exe" value="${thirdparty.dir}\mspec\mspec.exe" />
 
 	<target name="run.test" depends="app.compile">
 		<exec program="${xunit.cons.exe}" workingdir="${build.compile.dir}" commandline="${xunit.arguments}" />
@@ -12,7 +12,7 @@
 	<target name="test">
 		<!--<property name="xunit.arguments" value="${build.compile.dir}/${test.output} /sr /rt:text /rd:${build.compile.dir}" />-->
 		<!--<property name="xunit.arguments" value="${build.compile.dir}/${test.output}" />-->
-		<property name="xunit.arguments" value=" --html ${build.compile.dir} ${build.compile.dir}/${test.output} " />
+		<property name="xunit.arguments" value="${build.compile.dir}/${test.output} --html ${build.compile.dir}" />
 		<call target="run.test" />
 	</target>