Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
a64123c9
Commit
a64123c9
authored
Aug 26, 2018
by
Mathias Goebel
🎠
Browse files
more verbose testing
parent
3cb0d298
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
a64123c9
...
...
@@ -27,7 +27,7 @@ installation:
-
while [ $(curl -I -s http://localhost:8080 | grep -c "200 OK") == 0 ]; do sleep 2s; done
# shutdown eXist
-
bash ${EXIST_DB}/bin/shutdown.sh
-
ls -al /tmp
/tests*
; mv /tmp/tests-* .
-
ls -al /tmp; mv /tmp/tests-* .
artifacts
:
paths
:
-
output.log
...
...
post-install.xq
View file @
a64123c9
...
...
@@ -2,10 +2,11 @@ xquery version "3.1";
exrest:register-module
(
xs:anyURI
(
"/db/apps/SADE/modules/fontane/index-api.xqm"
))
,
exrest:register-module
(
xs:anyURI
(
"/db/apps/SADE/modules/fontane/toc-api.xqm"
))
,
let
$doc
:=
doc
(
"expath-pkg.xml"
)
//*:
package
,
(
let
$doc
:=
doc
(
"expath-pkg.xml"
)
//*:
package
,
$app
:=
string
(
$doc
/
@abbrev
)
,
$version
:=
string
(
$doc
/
@version
)
,
$filename
:=
string-join
((
"/tmp/tests"
,
$app
,
$version
)
,
"-"
)
||
".xml"
return
<tests
application=
"
{
$app
}
"
version=
"
{
$version
}
"
>
{
util:eval
(
"modules/fontane/tests.xq"
)}
</tests>
=>
file:serialize
(
$filename
,
())
$filename
:=
string-join
((
"/tmp/tests"
,
$app
,
$version
)
,
"-"
)
||
".xml"
,
$node
:=
<tests
application=
"
{
$app
}
"
version=
"
{
$version
}
"
>
{
util:eval
(
"modules/fontane/tests.xq"
)}
</tests>
,
$sysout
:=
util:log-system-out
(
$node
)
return
file:serialize
(
$node
,
$filename
,
())
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment