Commit 32b2a577 authored by Łukasz Nowak's avatar Łukasz Nowak

Simplify: just run the provided script

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