Commit 934a5142 authored by Alain Takoudjou's avatar Alain Takoudjou

beremiz-ide: write tests output to SlapOS test log directory

This allow to view captured image from the test result log url (snapshot directory).
parent fff34eb4
...@@ -23,7 +23,7 @@ md5sum = 51071494633f4ffba700baf935dc6955 ...@@ -23,7 +23,7 @@ md5sum = 51071494633f4ffba700baf935dc6955
[template-instance-beremiz-test] [template-instance-beremiz-test]
filename = instance-beremiz-test.cfg.jinja2.in filename = instance-beremiz-test.cfg.jinja2.in
md5sum = 6049681908c5619d94499a6f4f224045 md5sum = ff7cf06927041f6aec5ad559950b69cb
[template-fluxbox-menu.in] [template-fluxbox-menu.in]
filename = fluxbox-menu.in filename = fluxbox-menu.in
......
...@@ -30,7 +30,11 @@ recipe = slapos.recipe.template ...@@ -30,7 +30,11 @@ recipe = slapos.recipe.template
inline = inline =
#!/bin/sh -e #!/bin/sh -e
cd {{ beremiz_location }}/tests cd {{ beremiz_location }}/tests
make test_dir=${directory:tests} xserver_command='echo "Using ${xserver:display} on Slapos X Server !";' "$@" testdir=$SLAPOS_TEST_LOG_DIRECTORY
if [ -z "$testdir" ]; then
testdir=${directory:tests}
fi
make test_dir=$testdir xserver_command='echo "Using ${xserver:display} on Slapos X Server !";' "$@"
output = ${directory:bin}/beremiztest output = ${directory:bin}/beremiztest
[sikulix] [sikulix]
......
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