Commit a871d1cf authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0bbc6215
......@@ -23,8 +23,8 @@ mode = 0644
context =
section buildout buildout
section nxdtest nxdtest
key env_sh :env.sh
key workdir :workdir
# key env_sh :env.sh
# key workdir :workdir
# XXX env.sh - must be provided by user XXX or default empty?
# XXX workdir ----/----
......
......@@ -2,4 +2,4 @@
[nxdtest-instance.cfg]
filename = instance.cfg.in
md5sum = cb163ede67bcb297b6cbf327b52b4fe0
#md5sum = XXX
......@@ -26,5 +26,6 @@ recipe = slapos.cookbook:wrapper
wrapper-path = ${directory:bin}/${:_buildout_section_name_}
# XXX way to run nxdtest out of tree? (for neotest)
#command-line = /bin/bash -c '. {{ env_sh }} && cd ${directory:t} && {{ nxdtest['exe'] }} "$@"' nxdtest
command-line = /bin/bash -c '. {{ env_sh }} && cd {{ workdir }} && {{ nxdtest['exe'] }} "$@"' nxdtest
#command-line = /bin/bash -c '. {{ env_sh }} && cd {{ workdir }} && {{ nxdtest['exe'] }} "$@"' nxdtest
command-line = /bin/bash -c '. ${:env.sh} && cd ${:workdir} && {{ nxdtest['exe'] }} "$@"' nxdtest
# "$@" is implicitly added to argv
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