Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CamiTK
CamiTK Community Edition
Commits
06b128e5
Commit
06b128e5
authored
Jun 05, 2018
by
Emmanuel Promayon
Browse files
FIXED (tentative) simplify xvfb parameters
parent
7a00ea0b
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab/test.sh
View file @
06b128e5
...
...
@@ -17,7 +17,8 @@ if [[ "$osName" != "win7" ]]; then
# Starts the server first (try to avoid unexpected and random "QXcbConnection: Could not connect to display :99")
# see also https://doc.qt.io/qt-5/embedded-linux.html#linuxfb
export
DISPLAY
=
":98"
Xvfb
$DISPLAY
-screen
0 1600x1200x24
-ac
+extension GLX +render
-noreset
-v
-fbdir
$workingDir
/ &>
${
PROJECT_LOG_DIR
}
/test.log &
#-ac +extension GLX +render -noreset -v -fbdir $workingDir/ &> ${PROJECT_LOG_DIR}/test.log &
Xvfb
$DISPLAY
-screen
0 1600x1200x24 &>
${
PROJECT_LOG_DIR
}
/test.log &
trap
"kill
$!
|| true"
EXIT
sleep
10
export
XAUTHORITY
=
/dev/null
...
...
Write
Preview
Supports
Markdown
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