[2.0] Fixed some build issues. Added new build properties. Please install VersionControl_SVN pear package in order to use the test target of the build file.
This commit is contained in:
parent
3d3bcc1742
commit
92801ba8bd
@ -3,4 +3,6 @@ version=2.0.0
|
||||
stability=alpha
|
||||
build.dir=build
|
||||
dist.dir=dist
|
||||
report.dir=reports
|
||||
report.dir=reports
|
||||
log.archive.dir=logs
|
||||
svn.path=/usr/bin/svn
|
@ -121,7 +121,6 @@
|
||||
Runs the full test suite.
|
||||
-->
|
||||
<target name="test" depends="prepare">
|
||||
<!--
|
||||
<phpunit printsummary="true" haltonfailure="true">
|
||||
<formatter todir="${build.dir}/logs" type="xml"/>
|
||||
<batchtest classpath="tests">
|
||||
@ -131,7 +130,9 @@
|
||||
</batchtest>
|
||||
</phpunit>
|
||||
<phpunitreport infile="${build.dir}/logs/testsuites.xml" format="frames" todir="${report.dir}/tests" />
|
||||
-->
|
||||
<tstamp/>
|
||||
<svnlastrevision svnpath="${svn.path}" workingcopy="." propertyname="svn.lastrevision"/>
|
||||
<copy file="${build.dir}/logs/testsuites.xml" tofile="${log.archive.dir}/${svn.lastrevision}/log.xml" overwrite="true"/>
|
||||
</target>
|
||||
|
||||
<!--
|
||||
|
@ -14,7 +14,8 @@ $classLoader = new \Doctrine\Common\IsolatedClassLoader('Doctrine');
|
||||
$classLoader->register();
|
||||
|
||||
set_include_path(
|
||||
'.'
|
||||
. PATH_SEPARATOR . __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib'
|
||||
__DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'lib'
|
||||
. PATH_SEPARATOR .
|
||||
get_include_path()
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user