aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorAlexander Kampmann <programmer@nurfuerspam.de>2012-03-09 12:16:58 +0100
committerAlexander Kampmann <programmer@nurfuerspam.de>2012-03-09 12:16:58 +0100
commitf84c191f8df126b95d8a41f70e785a9592018390 (patch)
tree926f10626e6ad98dd80e00cbb8e7a324e79820b3 /build.xml
parent2e3116a11e020cd1f2bbe00b03c77210aad33fe5 (diff)
downloadvolse-hubzilla-f84c191f8df126b95d8a41f70e785a9592018390.tar.gz
volse-hubzilla-f84c191f8df126b95d8a41f70e785a9592018390.tar.bz2
volse-hubzilla-f84c191f8df126b95d8a41f70e785a9592018390.zip
added some tests
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml28
1 files changed, 11 insertions, 17 deletions
diff --git a/build.xml b/build.xml
index 0f5745072..a61a5123d 100644
--- a/build.xml
+++ b/build.xml
@@ -1,16 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="friendica" default="test">
- <!-- set up include directories, this is necessary for the tests to work -->
- <php>
- set_include_path(
- get_include_path() . PATH_SEPARATOR
- . 'include' . PATH_SEPARATOR
- . 'library' . PATH_SEPARATOR
- . 'library/phpsec' . PATH_SEPARATOR
- . '.' );
- </php>
-
<!-- ====================================================== -->
<!-- Target: clean-test -->
<!-- deletes directories with old test reports -->
@@ -32,16 +22,17 @@
<!-- this target runs all test files -->
<!-- =================================== -->
<target name="test" depends="prepare-test">
- <coverage-setup database="./report/coverage-database">
+ <!-- coverage-setup database="./report/coverage-database">
<fileset dir=".">
<include name="**/*.php" />
<exclude name="*test.php"/>
- <exclude name="./index.php"/>
- <exclude name="./library/**"/>
+ <exclude name="index.php"/>
+ <exclude name="library/**"/>
<exclude name="doc/**"/>
+ <exclude name=".."/>
</fileset>
- </coverage-setup>
- <phpunit printsummary="true" >
+ </coverage-setup -->
+ <phpunit printsummary="true">
<batchtest>
<fileset dir="tests">
<include name="*test.php" />
@@ -50,9 +41,9 @@
<formatter type="xml" todir="report" outfile="testlog.xml" />
</phpunit>
<phpunitreport infile="report/testlog.xml" todir="report" />
- <coverage-report outfile="report/coverage-database">
+ <!-- coverage-report outfile="report/coverage-database">
<report todir="report" styledir="/home/phing/etc" />
- </coverage-report>
+ </coverage-report -->
</target>
<!-- ===================================================== -->
@@ -75,6 +66,9 @@
<docblox title="Friendica API" destdir="./doc/api">
<fileset dir=".">
<include name="**/*.php" />
+ <include name="README"/>
+ <include name="INSTALL.txt"/>
+ <include name="LICENSE"/>
</fileset>
</docblox>
</target>