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
Show 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 @@
...
@@ -66,6 +66,8 @@
<mkdir
dir=
"${dist.dir}"
/>
<mkdir
dir=
"${dist.dir}"
/>
<echo
msg=
"Creating report directory: ${report.dir}"
/>
<echo
msg=
"Creating report directory: ${report.dir}"
/>
<mkdir
dir=
"${report.dir}"
/>
<mkdir
dir=
"${report.dir}"
/>
<mkdir
dir=
"${build.dir}/logs"
/>
<mkdir
dir=
"${report.dir}/tests"
/>
</target>
</target>
<target
name=
"build-common"
>
<target
name=
"build-common"
>
...
@@ -86,7 +88,7 @@
...
@@ -86,7 +88,7 @@
<!--
<!--
Builds all packages, preparing them for distribution.
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"
>
<copy
todir=
"${build.dir}/orm"
>
<fileset
refid=
"shared-artifacts"
/>
<fileset
refid=
"shared-artifacts"
/>
<fileset
refid=
"common-sources"
/>
<fileset
refid=
"common-sources"
/>
...
@@ -98,15 +100,10 @@
...
@@ -98,15 +100,10 @@
<target
name=
"build"
depends=
"test, build-orm"
/>
<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.
Runs the full test suite.
-->
-->
<target
name=
"test"
depends=
"prepare
-test
"
>
<target
name=
"test"
depends=
"prepare"
>
<phpunit
printsummary=
"true"
haltonfailure=
"true"
>
<phpunit
printsummary=
"true"
haltonfailure=
"true"
>
<formatter
todir=
"${build.dir}/logs"
type=
"xml"
/>
<formatter
todir=
"${build.dir}/logs"
type=
"xml"
/>
<batchtest
classpath=
"tests"
>
<batchtest
classpath=
"tests"
>
...
@@ -115,10 +112,13 @@
...
@@ -115,10 +112,13 @@
</fileset>
</fileset>
</batchtest>
</batchtest>
</phpunit>
</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>
<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"
>
<tar
destfile=
"${dist.dir}/DoctrineCommon-${version_name}.tar.gz"
compression=
"gzip"
>
<fileset
dir=
"${build.dir}/common"
>
<fileset
dir=
"${build.dir}/common"
>
<include
name=
"**"
/>
<include
name=
"**"
/>
...
@@ -136,7 +136,10 @@
...
@@ -136,7 +136,10 @@
</tar>
</tar>
</target>
</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"
>
<d51pearpkg2
baseinstalldir=
"Doctrine"
dir=
"${build.dir}/orm"
>
<name>
${name}
</name>
<name>
${name}
</name>
<summary>
${summary}
</summary>
<summary>
${summary}
</summary>
...
@@ -160,5 +163,8 @@
...
@@ -160,5 +163,8 @@
<tar
destfile=
"${dist.dir}/DoctrineORM-${version_name}.tgz"
basedir=
"${build.dir}/orm"
compression=
"gzip"
/>
<tar
destfile=
"${dist.dir}/DoctrineORM-${version_name}.tgz"
basedir=
"${build.dir}/orm"
compression=
"gzip"
/>
</target>
</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>
</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