Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
executable file
·
27 lines (23 loc) · 865 Bytes

File metadata and controls

executable file
·
27 lines (23 loc) · 865 Bytes
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"
Morty Proxy This is a proxified and sanitized view of the page, visit original site.