GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — kin-core-android/run_integ_test.sh at master · kinecosystem/kin-core-android

This repository was archived by the owner on May 14, 2021. It is now read-only.

Expand file tree

/

run_integ_test.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
44 lines (39 loc) · 1.02 KB
/

run_integ_test.sh

Copy path

File metadata and controls

executable file
·
44 lines (39 loc) · 1.02 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env bash
if [ -z "$1" ]
then
echo "Please specify AVD name to test on."
exit 1
fi
git clone https://github.com/kinecosystem/blockchain-ops.git
cd blockchain-ops
git checkout c26afdc168ad378363c63fb44de5a93b3cf24ddf
cd image
./init.sh
cd ../..
~/Library/Android/sdk/tools/emulator -avd $1 &
#wait for emulator
set +e
bootanim=""
failcounter=0
timeout_in_sec=360
until [[ "$bootanim" =~ "stopped" ]]; do
bootanim=`adb -e shell getprop init.svc.bootanim 2>&1 &`
if [[ "$bootanim" =~ "device not found" || "$bootanim" =~ "device offline"
|| "$bootanim" =~ "running" ]]; then
let "failcounter += 1"
echo "Waiting for emulator to start"
if [[ $failcounter -gt timeout_in_sec ]]; then
echo "Timeout ($timeout_in_sec seconds) reached; failed to start emulator"
exit 1
fi
fi
sleep 1
done
echo "Emulator is ready"
#---------------------
./gradlew jacocoTestReport
if [ $? -eq 0 ]; then
open kin-core/build/reports/jacoco/jacocoTestReport/html/index.html
else
echo Build failed!
fi
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.