Commit 18340319 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1d9d7620
# setup to run tests on Nexedi testing infrastructure.
# https://stack.nexedi.com/test_status
# test matrix: {fs,zeo,neo}-{!wcfs,wcfs}
# test.t & friends unit-test core of UVMM and are Go-, Python- and ZODB-storage independent.
# we don't run test.vg* because there is currently no valgrind on SlapOS
for kind in ['t', 'fault', 'asan', 'tsan']:
t = 'test.%s' % kind
TestCase(t, ['make', t]) # TODO summaryf=TAP.summary
# test.go unit-tests Go bits in wcfs.
TestCase('test.go', ['make', 'test.go']) # TODO summaryf=GoTest.summary
# test.py runs unit- and function- tests for WCFS and wendelin.core as a whole.
# matrix: test.py/{fs,zeo,neo}-{!wcfs,wcfs}
for stor in ['fs', 'zeo', 'neo']:
for wcfs in [False, True]:
name = '%s-%swcfs' % (stor, '' if wcfs else '!')
name = 'test.py/%s-%swcfs' % (stor, '' if wcfs else '!')
envadj = {
'WENDELIN_CORE_TEST_DB': '<%s>' % stor,
'WENDELIN_CORE_VIRTMEM': 'r:wcfs+w:uvmm' if wcfs else 'rw:uvmm',
}
# TODO summaryf=?
TestCase(name, ['make', 'test'], envadj=envadj)
TestCase(name, ['make', 'test.t'], envadj=envadj, summaryf=PyTest.summary)
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