Commit e409fe96 authored by Łukasz Nowak's avatar Łukasz Nowak

Simplify: just run the provided script

parent 648b151f
......@@ -6,10 +6,10 @@ parts +=
[runTestSuite]
recipe = slapos.recipe.template:jinja2
rendered = $${buildout:directory}/bin/$${:_buildout_section_name_}
template = ${:_profile_base_location_}/$${:_buildout_section_name_}.in
template = inline:
#!/bin/sh
exec ${buildout:bin-directory}/${runTestSuite_py:interpreter} ${:_profile_base_location_}/$${:_buildout_section_name_}.py "$@"
mode = 0755
context =
raw runTestSuite_py ${buildout:bin-directory}/${runTestSuite_py:interpreter}
[switch-softwaretype]
default = $${:cdn-test}
......
#!{{ runTestSuite_py }}
from __future__ import print_function
import argparse, os, subprocess, sys, traceback
from time import gmtime, strftime, time
......
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