Fix setup.py, wrongly merged in 962aff920383b012e110e43cb15fd7743beb2ed5
[slapos.git] / software / slapos-testing / instance.cfg
1 [buildout]
2 parts = 
3   slapos-test-runner
4
5 eggs-directory = ${buildout:eggs-directory}
6 develop-eggs-directory = ${buildout:develop-eggs-directory}
7 offline = true
8
9 [create-directory]
10 recipe = slapos.cookbook:mkdirectory
11 etc = $${buildout:directory}/etc
12 services = $${:etc}/run
13 srv = $${buildout:directory}/srv
14 source-code = $${:srv}/eggs-source-code
15
16 [download-source]
17 recipe = slapos.recipe.build:gitclone
18 git-executable = ${git:location}/bin/git
19
20 # Local development
21 [slapos.core]
22 <= download-source
23 repository = ${slapos.core-repository:location}
24
25 [slapos.recipe.template]
26 <= download-source
27 repository = ${slapos.recipe.template-repository:location}
28
29 [slapos.recipe.build]
30 <= download-source
31 repository = ${slapos.recipe.build-repository:location}
32
33 [slapos-test-runner]
34 recipe = slapos.cookbook:egg_test
35 run-test-suite = $${buildout:bin-directory}/runTestSuite
36 run-test-suite-binary = ${buildout:bin-directory}/runTestSuite
37 # The list of executables should be defined here and a combination
38 # of tests should dynamically generated.
39 #python-list = $${}
40 test-list =
41   $${slapos.core:location}
42   $${slapos.recipe.template:location}
43   $${slapos.recipe.build:location}
44 prepend-path = ${libxslt:location}/bin:${python2.7:location}/bin
45 environment = environment
46
47 [environment]
48 CPPFLAGS = -I${python2.7:location}/include/python2.7 -I${libxml2:location}/include -I${libxslt:location}/include
49 LDFLAGS = -L${python2.7:location}/lib -L${libxml2:location}/lib -L${libxslt:location}/lib -L${zlib:location}/lib
50 PYTHONPATH = ${python-setuptools:location}