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

.

parent 3358d6f3
...@@ -12,6 +12,7 @@ extends = ...@@ -12,6 +12,7 @@ extends =
parts = parts =
ZODB ZODB
.nxdtest
# for instance # for instance
ZODB-python ZODB-python
...@@ -41,7 +42,13 @@ template = inline: ...@@ -41,7 +42,13 @@ template = inline:
export PS1="(ZODB-env) $PS1" export PS1="(ZODB-env) $PS1"
export PATH=${buildout:bin-directory}:$PATH 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 to run nxdtest.
[instance.cfg] [instance.cfg]
...@@ -52,7 +59,7 @@ template = inline: ...@@ -52,7 +59,7 @@ template = inline:
[runTestSuite] [runTestSuite]
env.sh = ${ZODB-env.sh:rendered} env.sh = ${ZODB-env.sh:rendered}
workdir = ${ZODB-repository:location} workdir = ${buildout:directory}
[versions] [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