[Erp5-report] r35116 leonardo - /experimental/erp5.buildout-zope-2.12/trunk/
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri May 7 18:33:46 CEST 2010
Author: leonardo
Date: Fri May 7 18:33:45 2010
New Revision: 35116
URL: http://svn.erp5.org?rev=35116&view=rev
Log:
functional test buildbot setup for Zope 2.12
Added:
experimental/erp5.buildout-zope-2.12/trunk/erp5.ftests.xml
Modified:
experimental/erp5.buildout-zope-2.12/trunk/Makefile
Modified: experimental/erp5.buildout-zope-2.12/trunk/Makefile
URL: http://svn.erp5.org/experimental/erp5.buildout-zope-2.12/trunk/Makefile?rev=35116&r1=35115&r2=35116&view=diff
==============================================================================
--- experimental/erp5.buildout-zope-2.12/trunk/Makefile [utf8] (original)
+++ experimental/erp5.buildout-zope-2.12/trunk/Makefile [utf8] Fri May 7 18:33:45 2010
@@ -3,10 +3,22 @@
include $(LOCAL_MAKEFILE)
-run_unit_test: clean_previous update_svn run_buildout actual_run_unit_test
+DEFAULT_TARGET=run_unit_test
+ifeq ($(SUITE_NAME), Zelenium2_12)
+ DEFAULT_TARGET=run_functional_test
+endif
-actual_run_unit_test: erp5_xml
+.PHONY: clean_and_update clean_previous update_svn run_buildout run_functional_test run_unit_test
+
+all: clean_and_update $(DEFAULT_TARGET)
+
+run_unit_test: erp5_xml
edos-runtest --test-directory=`pwd` --file=erp5.xml -c erp5.cfg
+
+run_functional_test: erp5_xml
+ edos-runtest --test-directory=`pwd` --file=erp5.functional.xml -c erp5.cfg
+
+clean_and_update: clean_previous update_svn run_buildout
# XXX when the runUnitTest infrastructure is fixed, parts/unit_test
# below will probably change, either to the instance part location or to the
Added: experimental/erp5.buildout-zope-2.12/trunk/erp5.ftests.xml
URL: http://svn.erp5.org/experimental/erp5.buildout-zope-2.12/trunk/erp5.ftests.xml?rev=35116&view=auto
==============================================================================
--- experimental/erp5.buildout-zope-2.12/trunk/erp5.ftests.xml (added)
+++ experimental/erp5.buildout-zope-2.12/trunk/erp5.ftests.xml [utf8] Fri May 7 18:33:45 2010
@@ -1,0 +1,25 @@
+<test-case>
+ <description name="Zelenium2_12" suite="Zelenium2_12">
+ description
+ </description>
+
+ <package name="coreutils" />
+ <condition>
+ <and>
+ <isset property="" />
+ </and>
+ </condition>
+
+ <test-runner>
+ <shell script="env">
+ <arg value="erp5_functional_test_arguments=-d -s --run_only=float_field_zuite"/>
+ <arg value="../../bin/runUnitTest"/>
+ <arg value="--erp5_sql_connection_string 'test test'"/>
+ <arg value="--verbose"/>
+ <arg value="prepareFunctionalTest"/>
+ </shell>
+ <shell script="LANGUAGE=C svn info">
+ <arg value="../../parts/products-erp5/ERP5"/>
+ </shell>
+ </test-runner>
+</test-case>
More information about the Erp5-report
mailing list