-
Notifications
You must be signed in to change notification settings - Fork 5
/
testingtool.sh
executable file
·36 lines (30 loc) · 3.9 KB
/
testingtool.sh
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
#!/bin/bash
echo " _ _ "
echo " __ __ _____| |__ ___ _ __ ___ | |_ ___ "
echo " \ V V / -_) / _/ _ \ ' \/ -_) | _/ _ \ _ "
echo " \_/\_/\___|_\__\___/_|_|_\___| \__\___/ ( )"
echo " |/ "
echo " █████╗ ██████╗ ██╗███╗ ███╗ ███╗ ███╗██╗ ██████╗ ██████╗ █████╗ ████████╗██╗ ██████╗ ███╗ ██╗"
echo " ██╔══██╗██╔══██╗██║████╗ ████║ ████╗ ████║██║██╔════╝ ██╔══██╗██╔══██╗╚══██╔══╝██║██╔═══██╗████╗ ██║"
echo " ███████║██████╔╝██║██╔████╔██║ ██╔████╔██║██║██║ ███╗██████╔╝███████║ ██║ ██║██║ ██║██╔██╗ ██║"
echo " ██╔══██║██╔═══╝ ██║██║╚██╔╝██║ ██║╚██╔╝██║██║██║ ██║██╔══██╗██╔══██║ ██║ ██║██║ ██║██║╚██╗██║"
echo " ██║ ██║██║ ██║██║ ╚═╝ ██║ ██║ ╚═╝ ██║██║╚██████╔╝██║ ██║██║ ██║ ██║ ██║╚██████╔╝██║ ╚████║"
echo " ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═══╝"
echo " ████████╗███████╗███████╗████████╗██╗███╗ ██╗ ██████╗ ████████╗ ██████╗ ██████╗ ██╗ "
echo " ╚══██╔══╝██╔════╝██╔════╝╚══██╔══╝██║████╗ ██║██╔════╝ ╚══██╔══╝██╔═══██╗██╔═══██╗██║ "
echo " ██║ █████╗ ███████╗ ██║ ██║██╔██╗ ██║██║ ███╗ ██║ ██║ ██║██║ ██║██║ "
echo " ██║ ██╔══╝ ╚════██║ ██║ ██║██║╚██╗██║██║ ██║ ██║ ██║ ██║██║ ██║██║ "
echo " ██║ ███████╗███████║ ██║ ██║██║ ╚████║╚██████╔╝ ██║ ╚██████╔╝╚██████╔╝███████╗"
echo " ╚═╝ ╚══════╝╚══════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝"
if command -v python3 &>/dev/null; then
sudo apt install virtualenv
sudo apt-get install python3-pip
virtualenv -p `which python3` pyenv
source pyenv/bin/activate
pip install -r requirements.txt
pip install JPype1==0.6.3 --force-reinstall
cd Python
python3 testingtool.py
else
echo ERROR: This testing tool is support for Python3 or above so please do manually install Python 3 to continue to the testing tool.
fi