Commit fb66da0b authored by Ivan Tyagov's avatar Ivan Tyagov

Use our own python with fixed set of eggs. Thanks to Kirill to point out.

parent 84731d49
...@@ -36,6 +36,7 @@ template = {{ runTestSuite_in }} ...@@ -36,6 +36,7 @@ template = {{ runTestSuite_in }}
mode = 0755 mode = 0755
context = context =
section my_cnf_parameters my-cnf-parameters section my_cnf_parameters my-cnf-parameters
raw python_executable {{ bin_directory }}/pythonwitheggs
raw neotestrunner {{ bin_directory }}/neotestrunner raw neotestrunner {{ bin_directory }}/neotestrunner
raw neo_temp_directory ${directory:tmp} raw neo_temp_directory ${directory:tmp}
......
#!/usr/bin/python #!{{ python_executable }}
""" """
Script to run NEO test suite using Nexedi's test node framework. Script to run NEO test suite using Nexedi's test node framework.
""" """
import argparse, sys, subprocess, os import argparse, sys, subprocess, os
import traceback import traceback
import taskdistribution from erp5.util import taskdistribution
import re import re
# pattern to get test counts from stdout # pattern to get test counts from stdout
......
...@@ -103,7 +103,7 @@ md5sum = 82f3f76f54ee9db355966a7ada61f56e ...@@ -103,7 +103,7 @@ md5sum = 82f3f76f54ee9db355966a7ada61f56e
[instance-neo-storage-mysql] [instance-neo-storage-mysql]
<= download-base-neo <= download-base-neo
md5sum = c2c3becb1d53d104c6b9b5b531f32ac6 md5sum = f301da67d9cd2a2e8193f4f145b52824
[template-neo-my-cnf] [template-neo-my-cnf]
<= download-base-neo <= download-base-neo
......
...@@ -10,10 +10,7 @@ parts + = ...@@ -10,10 +10,7 @@ parts + =
recipe = zc.recipe.egg recipe = zc.recipe.egg
eggs = eggs =
erp5.util erp5.util
entry-points = interpreter = pythonwitheggs
runTestSuite=erp5.util.testsuite:runTestSuite
scripts =
runTestSuite
[download-file] [download-file]
recipe = slapos.recipe.build:download recipe = slapos.recipe.build:download
......
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