Commit 17384f47 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3358d6f3
......@@ -12,6 +12,7 @@ extends =
parts =
ZODB
.nxdtest
# for instance
ZODB-python
......@@ -41,7 +42,13 @@ template = inline:
export PS1="(ZODB-env) $PS1"
export PATH=${buildout:bin-directory}:$PATH
# XXX generate .nxdtest
# .nxdtest to run ZODB tests
[.nxdtest]
<= jinja2-template
template = inline:
ZODB = '${ZODB-repository:location}'
TestCase('u', ['python', '-m', 'zope.testrunner', '-u', '--test-path=src'], cwd=ZODB)
TestCase('f', ['python', '-m', 'zope.testrunner', '-f', '--test-path=src'], cwd=ZODB)
# instance to run nxdtest.
[instance.cfg]
......@@ -52,7 +59,7 @@ template = inline:
[runTestSuite]
env.sh = ${ZODB-env.sh:rendered}
workdir = ${ZODB-repository:location}
workdir = ${buildout:directory}
[versions]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment