Merge branch 'master' into slaprunner
[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 bin = $${buildout:directory}/bin
12 etc = $${buildout:directory}/etc
13 services = $${:etc}/run
14 srv = $${buildout:directory}/srv
15 source-code = $${:srv}/eggs-source-code
16
17 [download-source]
18 recipe = slapos.recipe.build:gitclone
19 git-executable = ${git:location}/bin/git
20
21 # Local development
22 [slapos.core]
23 <= download-source
24 repository = ${slapos.core-repository:location}
25
26 [slapos.recipe.template]
27 <= download-source
28 repository = ${slapos.recipe.template-repository:location}
29
30 [slapos.recipe.build]
31 <= download-source
32 repository = ${slapos.recipe.build-repository:location}
33
34 [slapos-test-runner]
35 recipe = slapos.cookbook:egg_test
36 run-test-suite = $${create-directory:bin}/runTestSuite
37 run-test-suite-binary = ${buildout:bin-directory}/runTestSuite
38 # The list of executables should be defined here and a combination
39 # of tests should dynamically generated.
40 #python-list = $${}
41 test-list =
42   $${slapos.core:location}
43   $${slapos.recipe.template:location}
44   $${slapos.recipe.build:location}
45 prepend-path = ${git:location}/bin:${libxslt:location}/bin:${python2.7:location}/bin
46 environment = environment
47
48 [environment]
49 CPPFLAGS = -I${python2.7:location}/include/python2.7 -I${libxml2:location}/include -I${libxslt:location}/include
50 LDFLAGS = -L${python2.7:location}/lib -L${libxml2:location}/lib -L${libxslt:location}/lib -L${zlib:location}/lib
51 PYTHONPATH = ${python-setuptools:location}