From: Jinoh Kang jinoh.kang.kr@gmail.com
--- tools/gitlab/test.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)
diff --git a/tools/gitlab/test.yml b/tools/gitlab/test.yml index aaad7b31c36..ff12b203d57 100644 --- a/tools/gitlab/test.yml +++ b/tools/gitlab/test.yml @@ -17,6 +17,22 @@ paths: - wine-mono-$MONO_VER-x86.msi before_script: + - | + unset current_section + set_section_collapsed() { + if [ "${current_section+x}" ] + then + printf '\e[0Ksection_end:%s:%s\r\e[0K' "$(date +%s)" "$current_section" + unset current_section + fi + if [ "${1+x}" ] + then + current_section=$1 + printf '\e[0Ksection_start:%s:%s[collapsed=true]\r\e[0K' "$(date +%s)" "$current_section" + fi + } + set_section_collapsed wine_test_prepare_env + printf '\e[36;1mPreparing environment for Wine\e[0m\n' - export BASEDIR=$PWD - export PATH=$BASEDIR/usr/local/bin:$PATH - export DISPLAY=:0 @@ -32,17 +48,25 @@ EndSection EOF - echo 'exec /usr/bin/fvwm -f config -c "Style * MwmDecor" -c "Style * UsePPosition" 2>/dev/null' >$HOME/.xinitrc + + - set_section_collapsed wine_test_startx - startx -- -config $HOME/xorg.conf $DISPLAY & + + - set_section_collapsed wine_test_download_packages - test -f wine-gecko-$GECKO_VER-x86.msi || curl -o wine-gecko-$GECKO_VER-x86.msi https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/wine-gecko-$GECKO_VER-x86.m... - test -f wine-gecko-$GECKO_VER-x86_64.msi || curl -o wine-gecko-$GECKO_VER-x86_64.msi https://dl.winehq.org/wine/wine-gecko/$GECKO_VER/wine-gecko-$GECKO_VER-x86_6... - test -f wine-mono-$MONO_VER-x86.msi || curl -o wine-mono-$MONO_VER-x86.msi https://dl.winehq.org/wine/wine-mono/$MONO_VER/wine-mono-$MONO_VER-x86.msi - mkdir -p $HOME/Documents $HOME/Desktop usr/local/share/wine/gecko usr/local/share/wine/mono - ln -sf $BASEDIR/wine-gecko-$GECKO_VER-x86.msi $BASEDIR/wine-gecko-$GECKO_VER-x86_64.msi usr/local/share/wine/gecko - ln -sf $BASEDIR/wine-mono-$MONO_VER-x86.msi usr/local/share/wine/mono + + - set_section_collapsed wine_test_complete_init - pulseaudio --start --exit-idle-time=-1 - wine wineboot.exe -u - wineserver -w
+ - set_section_collapsed + test-linux-64: extends: .wine-test variables: