instance.cfg 1.55 KB
Newer Older
1 2 3 4 5 6 7 8
[buildout]
parts = 
  slapos-test-runner

eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true

9 10
[create-directory]
recipe = slapos.cookbook:mkdirectory
11
bin = $${buildout:directory}/bin
12 13 14 15
etc = $${buildout:directory}/etc
services = $${:etc}/run
srv = $${buildout:directory}/srv
source-code = $${:srv}/eggs-source-code
Rafael Monnerat's avatar
Rafael Monnerat committed
16

17 18 19
[download-source]
recipe = slapos.recipe.build:gitclone
git-executable = ${git:location}/bin/git
Rafael Monnerat's avatar
Rafael Monnerat committed
20 21 22 23 24 25 26 27 28 29

# Local development
[slapos.core]
<= download-source
repository = ${slapos.core-repository:location}

[slapos.recipe.template]
<= download-source
repository = ${slapos.recipe.template-repository:location}

30 31 32 33
[slapos.recipe.build]
<= download-source
repository = ${slapos.recipe.build-repository:location}

34
[slapos-test-runner]
Rafael Monnerat's avatar
Rafael Monnerat committed
35
recipe = slapos.cookbook:egg_test
36
run-test-suite = $${create-directory:bin}/runTestSuite
Rafael Monnerat's avatar
Rafael Monnerat committed
37 38 39 40
run-test-suite-binary = ${buildout:bin-directory}/runTestSuite
# The list of executables should be defined here and a combination
# of tests should dynamically generated.
#python-list = $${}
41 42 43 44
test-list =
  $${slapos.core:location}
  $${slapos.recipe.template:location}
  $${slapos.recipe.build:location}
45
prepend-path = ${git:location}/bin:${libxslt:location}/bin:${python2.7:location}/bin
46 47 48 49 50
environment = environment

[environment]
CPPFLAGS = -I${python2.7:location}/include/python2.7 -I${libxml2:location}/include -I${libxslt:location}/include
LDFLAGS = -L${python2.7:location}/lib -L${libxml2:location}/lib -L${libxslt:location}/lib -L${zlib:location}/lib
51
PYTHONPATH = ${python-setuptools:location}