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
magic-lantern
magic-lantern
Commits
8533dad24cc9
Commit
cf30bd23
authored
Mar 25, 2019
by
alex@thinkpad
Browse files
QEMU tests: minor fix for HPTimer test
(slightly faster, no longer times out) --HG-- branch : qemu
parent
dbfe4d6d9a4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
contrib/qemu/tests/run_tests.sh
View file @
8533dad2
...
...
@@ -1246,9 +1246,9 @@ function test_hptimer {
# run the HPTimer test
./run_canon_fw.sh
$CAM
,firmware
=
"boot=1"
-snapshot
-display
none &> tests/
$CAM
/
$TEST
.log &
# wait for
He (
Hello
)
from
q
print
f (blue, each char colored)
# wait for
"
Hello from
" (
print
ed with qprintf)
touch
tests/
$CAM
/
$TEST
.log
(
timeout
1
tail
-f
-n100000
tests/
$CAM
/
$TEST
.log &
)
|
grep
-
-binary-files
=
text
-qP
"
\x
1B
\x
5B34mH
\x
1B
\x
5B0m
\x
1B
\x
5B34me
\x
1B
\x
5B0
m"
(
timeout
5
tail
-f
-n100000
tests/
$CAM
/
$TEST
.log &
)
|
grep
-
aqP
"Hello fro
m"
# let it run for 1 second
sleep
1
...
...
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