FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cefpython/cefpython/tests/test-launch.sh at cefpython31 · 2php/cefpython · GitHub
2php
cefpython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
cefpython
/
cefpython
/
tests
/
test-launch.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
27 lines (23 loc) · 865 Bytes
Breadcrumbs
cefpython
/
cefpython
/
tests
/
test-launch.sh
Copy path
File metadata and controls
executable file
·
27 lines (23 loc) · 865 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!
/bin/bash
#
Usage: ./test-launch.sh 500
#
When launching this test script more than once in current
#
Linux session then the CEF initialization issue is hard
#
to reproduce. The best results are when launching tests
#
in a clean Ubuntu session, just log out and log in again,
#
and run the test immediately. You could also run a few
#
terminal sessions with several test scripts running
#
simultaneously to simulate heavy overload.
for
((
i
=
1
; i
<=
$1
; i
++
))
;
do
output=
$(
python ./../cef3/wx-subpackage/examples/sample2.py test-launch
)
code=
$?
if
[[
$code
!=
0
||
$output
!=
*
b8ba7d9945c22425328df2e21fbb64cd
*
]]
;
then
echo
"
EXIT CODE:
$code
"
echo
"
OUTPUT:
$output
"
echo
"
ERROR!
"
read
-p
"
Press ENTER to exit
"
exit
$code
fi
echo
RUN
$i
OK
done
echo
TEST SUCCEEDED
read
-p
"
Press ENTER to exit
"
Back
|
FazBrowse Home
|
New Git URL