summaryrefslogtreecommitdiff
path: root/selenium/launch_selenium_test
blob: 12e35ca91a727b0c4c1bb06d3210fd1a4cca77f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

ulimit -v 6000000

set -eu

# clean /tmp
rm -fr /tmp/.org.chromium*

cd $HOME/wallet-webex
git clean -fdx

git fetch
# reset to updated upstream branch, but only if we're tracking a branch
branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo HEAD)
git reset --hard "$branch"

git submodule update --remote

./configure && make

# call python3 selenium script
python3 $HOME/wallet-webex/selenium/withdraw_buy.py --ext-unpacked=$HOME/wallet-webex