Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
691aa923
Commit
691aa923
authored
Sep 01, 2009
by
romanb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] Small build.xml changes to fix test report generation.
parent
fd204ee7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
13 deletions
+19
-13
build.xml
build.xml
+19
-13
No files found.
build.xml
View file @
691aa923
...
...
@@ -66,6 +66,8 @@
<mkdir
dir=
"${dist.dir}"
/>
<echo
msg=
"Creating report directory: ${report.dir}"
/>
<mkdir
dir=
"${report.dir}"
/>
<mkdir
dir=
"${build.dir}/logs"
/>
<mkdir
dir=
"${report.dir}/tests"
/>
</target>
<target
name=
"build-common"
>
...
...
@@ -86,7 +88,7 @@
<!--
Builds all packages, preparing them for distribution.
-->
<target
name=
"build-orm"
depends=
"
prepare
, build-common, build-dbal"
>
<target
name=
"build-orm"
depends=
"
test
, build-common, build-dbal"
>
<copy
todir=
"${build.dir}/orm"
>
<fileset
refid=
"shared-artifacts"
/>
<fileset
refid=
"common-sources"
/>
...
...
@@ -97,16 +99,11 @@
</target>
<target
name=
"build"
depends=
"test, build-orm"
/>
<target
name=
"prepare-test"
>
<mkdir
dir=
"${build.dir}/logs"
/>
<mkdir
dir=
"${report.dir}/tests"
/>
</target>
<!--
Runs the full test suite.
-->
<target
name=
"test"
depends=
"prepare
-test
"
>
<target
name=
"test"
depends=
"prepare"
>
<phpunit
printsummary=
"true"
haltonfailure=
"true"
>
<formatter
todir=
"${build.dir}/logs"
type=
"xml"
/>
<batchtest
classpath=
"tests"
>
...
...
@@ -115,10 +112,13 @@
</fileset>
</batchtest>
</phpunit>
<phpunitreport
infile=
"
build/logs/testsuites.xml"
format=
"frames"
todir=
"reports
/tests"
/>
<phpunitreport
infile=
"
${build.dir}/logs/testsuites.xml"
format=
"frames"
todir=
"${report.dir}
/tests"
/>
</target>
<target
name=
"build-tar-packages"
depends=
"test, build-orm"
>
<!--
Builds regular distributable packages (without PEAR package.xml).
-->
<target
name=
"build-tar-packages"
depends=
"build-orm"
>
<tar
destfile=
"${dist.dir}/DoctrineCommon-${version_name}.tar.gz"
compression=
"gzip"
>
<fileset
dir=
"${build.dir}/common"
>
<include
name=
"**"
/>
...
...
@@ -136,7 +136,10 @@
</tar>
</target>
<target
name=
"build-pear-packages"
depends=
"test, build-orm"
>
<!--
Builds distributable PEAR packages.
-->
<target
name=
"build-pear-packages"
depends=
"build-orm"
>
<d51pearpkg2
baseinstalldir=
"Doctrine"
dir=
"${build.dir}/orm"
>
<name>
${name}
</name>
<summary>
${summary}
</summary>
...
...
@@ -159,6 +162,9 @@
<tar
destfile=
"${dist.dir}/DoctrineDBAL-${version_name}.tgz"
basedir=
"${build.dir}/dbal"
compression=
"gzip"
/>
<tar
destfile=
"${dist.dir}/DoctrineORM-${version_name}.tgz"
basedir=
"${build.dir}/orm"
compression=
"gzip"
/>
</target>
<target
name=
"build-packages"
depends=
"test, build-pear-packages, build-tar-packages"
/>
<!--
Builds both PEAR packages as well as normal packages (without package.xml).
-->
<target
name=
"build-packages"
depends=
"build-pear-packages, build-tar-packages"
/>
</project>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment