Re: [pgadmin-hackers] Regression Setup for PGAdmin - Mailing list pgadmin-hackers
From | Ikram Khan |
---|---|
Subject | Re: [pgadmin-hackers] Regression Setup for PGAdmin |
Date | |
Msg-id | CAGz+W7zt6_KKALndHGP-dX1gPUKMQHxaO5k_-Qb-Z5ki3yS3og@mail.gmail.com Whole thread Raw |
Responses |
Re: [pgadmin-hackers] Regression Setup for PGAdmin
|
List | pgadmin-hackers |
Hi Navnath,As discussed, I am facing the following issue while running regression on windowssignal.signal(signal.SIGQUIT, sig_handler)
AttributeError: 'module' object has no attribute 'SIGQUIT'Just for info. I have tried to search this error and it seems it wont work with windows, please see this https://docs.python.org/2/library/signal.html#signal. signal ThanksOn Wed, Dec 21, 2016 at 5:32 PM, Ikram Khan <ikram.khan@enterprisedb.com> wrote:Hi,Sure, I will edit it.ThanksOn Wed, Dec 21, 2016 at 5:25 PM, Navnath Gadakh <navnath.gadakh@enterprisedb.com> wrote: Hello Ikram,That 'name' has no significant function, it's just used for printing test result at the end of the test suite, as said you can edit that config as per your need.On Wed, Dec 21, 2016 at 5:42 PM, Ikram Khan <ikram.khan@enterprisedb.com> wrote:Hi Navnath,As discussed, in test_config.json.in file there are 2 hardcoded values"name": "PostgreSQL 9.4",
"comment": "PostgreSQL 9.4 Server (EDB Installer)"As we are running it with 9.6, It needs to be fixed.ThanksOn Fri, Dec 9, 2016 at 4:34 PM, Navnath Gadakh <navnath.gadakh@enterprisedb.com> wrote: Hi Ikram,
Please follow below steps to setup pgAdmin4 Regression setup,
1) Install GIT
sudo apt-get install git
2) Install pip3
sudo apt-get install python3-pip
3) Install virtualenv
sudo pip3 install virtualenv
4) install below dependancy as it is required for psycopg2 & pycrypto module
sudo apt-get install libpq-dev
sudo apt-get install python3-dev
5) Create virtual environment
virtualenv -p python3 venv
6) Clone git repo
git clone http://git.postgresql.org/git/
pgadmin4.git 7) activate virtual environment
source venv/bin/activate
8) Install modules
pip3 install -r requirements_py3.txt
9) Run pgAdmin4 as a web application (to run testsuite no need to follow this step)
python pgAdmin4.py
10) Run Regression/Testsuite
Go to pgadmin4/web/regression and run
python runtests.py (For all nodes) OR
Python runtests.py --pkg browser (For browser node) OR
Python runtests.py --pkg browser.server_groups.servers (For server node)
And so on for other nodes.
Please free to ask if you face any issue.
Thanks.
On Fri, Dec 9, 2016 at 4:37 PM, Navnath Gadakh <navnath.gadakh@enterprisedb.com> wrote: Hey, I was OOO, Tell me what you need on Regression/Testsuite for PGAdmin?--On Fri, Dec 9, 2016 at 4:13 PM, Ikram Khan <ikram.khan@enterprisedb.com> wrote:Hi Navnath,As discussed I have to setup Regression/Testsuite for PGAdmin, Need your support on this.Regards,--Muhammad IkramConfiguration Management TeamPh: +92.307.848.0479
Follow us on Twitter
@EnterpriseDB
Visit EnterpriseDB for tutorials, webinars, whitepapers and moreRegards,Navnath GadakhEnterpriseDB Corporation
The Enterprise PostgreSQL Company--Regards,Navnath GadakhEnterpriseDB Corporation
The Enterprise PostgreSQL Company--Muhammad IkramConfiguration Management TeamPh: +92.307.848.0479
Follow us on Twitter
@EnterpriseDB
Visit EnterpriseDB for tutorials, webinars, whitepapers and more--Regards,Navnath GadakhEnterpriseDB Corporation
The Enterprise PostgreSQL Company--Muhammad IkramConfiguration Management TeamPh: +92.307.848.0479
Follow us on Twitter
@EnterpriseDB
Visit EnterpriseDB for tutorials, webinars, whitepapers and more--Muhammad IkramConfiguration Management TeamPh: +92.307.848.0479
Follow us on Twitter
@EnterpriseDB
Visit EnterpriseDB for tutorials, webinars, whitepapers and more

Follow us on Twitter
@EnterpriseDB
Visit EnterpriseDB for tutorials, webinars, whitepapers and more
pgadmin-hackers by date: