test-common.cfg 1.39 KB
Newer Older
1 2 3 4 5
# SlapOS software release to test wendelin.core on Nexedi testing infrastructure.
# Common parts.

[buildout]
extends =
6 7
    ../../stack/erp5/buildout.cfg
    ../../software/neoppod/software.cfg
8 9

    ../pytest/buildout.cfg
10
    ../scipy/buildout.cfg
11 12 13 14 15 16
    ../gdb/buildout.cfg
    ../../stack/nxdtest.cfg
    buildout.cfg

parts =
# keep neoppod first and in parts so that ZODB is built correctly
17
    neoppod-develop
18 19 20 21 22 23 24 25
    neoppod

#   for instance
    wendelin.core-python
    slapos-cookbook
    instance.cfg


26 27 28 29 30
# test-dependent eggs that must come through in-tree recipes.
[wendelin.core]
depends +=  ${scipy:egg}


31
# bin/python is python interpreter with wendelin.core and all other eggs.
32 33 34
[wendelin.core-python]
<= python-interpreter
eggs =
35 36
    ${wendelin.core:egg}[test]
    ${pygolang:egg}[pyx.build]
37
    neoppod[tests]
38
    ${ZEO:egg}[test]
39

40
# env.sh for that python + go to be on $PATH
41
[wendelin.core-env.sh]
42 43 44
recipe   = slapos.recipe.template
output = ${buildout:directory}/${:_buildout_section_name_}
inline =
45
  . ${gowork:env.sh}
46 47 48 49 50 51
  export PS1="(wendelin.core-env) $PS1"
  export PATH=${buildout:bin-directory}:${gdb:location}/bin:$PATH

# instance to run nxdtest.
[instance.cfg]
<= jinja2-template
52
inline =
53
  [buildout]
54
  extends = ${nxdtest-instance.cfg:output}
55 56

  [runTestSuite]
57
  env.sh  = ${wendelin.core-env.sh:output}
58 59 60 61 62 63
  workdir = ${wendelin.core-repository:location}


[versions]
neoppod = 1.12.0
random2 = 1.0.1