Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
7b20640e
Commit
7b20640e
authored
Nov 19, 2015
by
Holger Levsen
Browse files
torbrowser tests: refactor, make final status thumbnails readable
parent
c7cb2198
Changes
2
Hide whitespace changes
Inline
Side-by-side
TODO
View file @
7b20640e
...
@@ -414,10 +414,14 @@ The following ideas should really only be implemented for the new 'lvc*' tests..
...
@@ -414,10 +414,14 @@ The following ideas should really only be implemented for the new 'lvc*' tests..
* fix "schroot session cleanup loop" in _common.sh to ignore other schroots
* fix "schroot session cleanup loop" in _common.sh to ignore other schroots
* build daily from upstream master against sid no matter if there where commits
* build daily from upstream master against sid no matter if there where commits
* test tbl in German
* test tbl on i386
* test alpha releases
* test alpha releases
** '~/.config/torbrowser/settings' file and edit the latest_version setting
** '~/.config/torbrowser/settings' file and edit the latest_version setting
** get version from '~/.cache/torbrowser/download/RecommendedTBBVersions'
** get version from '~/.cache/torbrowser/download/RecommendedTBBVersions'
** (warning: on update checks these files are written again…)
** (warning: on update checks these files are written again…)
* fix broken screenshot while job is running via apache redirect
* once tbl is removed from experimental, make sure the job does nothing but detect that and exits quickly+successfully.
* notifications should go somewhere public, after a while of testing.
* notifications should go somewhere public, after a while of testing.
* debug why iceweasel is needed to be installed… and ca-certificates too.
* debug why iceweasel is needed to be installed… and ca-certificates too.
* run this in qemu and enable apparmor too? -> create new tests for apparmor first :)
* run this in qemu and enable apparmor too? -> create new tests for apparmor first :)
...
...
bin/test_torbrowser-launcher.sh
View file @
7b20640e
...
@@ -304,27 +304,24 @@ download_and_launch() {
...
@@ -304,27 +304,24 @@ download_and_launch() {
fi
fi
done
done
if
[
-n
"
$BONUS_LEVEL_1
"
]
&&
[
-n
"
$BONUS_LEVEL_2
"
]
;
then
if
[
-n
"
$BONUS_LEVEL_1
"
]
&&
[
-n
"
$BONUS_LEVEL_2
"
]
;
then
BON
US_MSG
=
"Very well done."
STAT
US_MSG
=
"Very well done."
BON
US_COLORS
=
"-bg green -fg black"
STAT
US_COLORS
=
"-bg green -fg black"
elif
[
-n
"
$BONUS_LEVEL_1
"
]
||
[
-n
"
$BONUS_LEVEL_2
"
]
;
then
elif
[
-n
"
$BONUS_LEVEL_1
"
]
||
[
-n
"
$BONUS_LEVEL_2
"
]
;
then
BON
US_MSG
=
"Well done."
STAT
US_MSG
=
"Well done."
BON
US_COLORS
=
"-bg lightgreen -fg black"
STAT
US_COLORS
=
"-bg lightgreen -fg black"
else
else
BON
US_MSG
=
""
STAT
US_MSG
=
""
BON
US_COLORS
=
""
STAT
US_COLORS
=
""
fi
fi
# sleep is added here, so
the
xterm
s come up in stable order
# sleep is added here, so xterm
+ notification come up nicely
schroot
--run-session
-c
$SESSION
--preserve-environment
--
xterm
$BONUS_COLORS
-fs
64
-hold
-T
'$(date +'
%a %d %b
')'
-e
"figlet -c -f banner '
$(
date
+
'%a %d %b'
)
'"
2>/dev/null
||
true
&
schroot
--run-session
-c
$SESSION
--preserve-environment
--
xterm
-geometry
1024x230+0+520
$STATUS_COLORS
-fa
'DejaVuSansMono'
-fs
18
-hold
-T
'$(date +'
%a %d %b
')'
-e
"
echo ;
figlet -c -f banner
-w 68
'
$(
date
+
'%a %d %b'
)
'"
2>/dev/null
||
true
&
sleep
1
sleep
1
if
[
-n
"
$BONUS_MSG
"
]
;
then
echo
"'
$(
date
-u
)
- torbrowser tests end.
$STATUS_MSG
'"
|
tee
| xargs schroot
--run-session
-c
$SESSION
--preserve-environment
--
notify-send
schroot
--run-session
-c
$SESSION
--preserve-environment
--
xterm
$BONUS_COLORS
-fs
48
-hold
-T
"
$BONUS_MSG
"
-e
"figlet -c -f banner '
$BONUS_MSG
'"
2>/dev/null
||
true
&
sleep
0.5
fi
sleep
1
echo
"'
$(
date
-u
)
- torbrowser tests end.
$BONUS_MSG
'"
|
tee
| xargs schroot
--run-session
-c
$SESSION
--preserve-environment
--
notify-send
update_screenshot
update_screenshot
echo
"
$(
date
)
- telling awesome to quit."
echo
"
$(
date
)
- telling awesome to quit."
echo
'awesome.quit()'
| schroot
--run-session
-c
$SESSION
--preserve-environment
--
awesome-client
echo
'awesome.quit()'
| schroot
--run-session
-c
$SESSION
--preserve-environment
--
awesome-client
sleep
1
sleep
0.5
schroot
--run-session
-c
$SESSION
--directory
/tmp
-u
root
--
service dbus stop
schroot
--run-session
-c
$SESSION
--directory
/tmp
-u
root
--
service dbus stop
sleep
1
sleep
1
echo
"
$(
date
-u
)
- killing Xfvb and ffmpeg."
echo
"
$(
date
-u
)
- killing Xfvb and ffmpeg."
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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