Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
cdfe6666
Commit
cdfe6666
authored
Nov 22, 2011
by
Kostas Papadimitriou
Browse files
Updated test runner scripts
- updated test settings module - fixed multiple venvs runner
parent
a7dd03e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
runtests-venvs.sh
View file @
cdfe6666
...
...
@@ -37,23 +37,29 @@
set
-e
virtualenv
--no-site-packages
-ppython2
.
7
env
virtualenv
--no-site-packages
-ppython2
.
6
env
source env
/bin/activate
PIP_DOWNLOAD_CACHE
=
/tmp/.pip_cache
pip
install
-r
requirements.pip
python setup.py
install
cd env
# avoid vncauthproxy errors
rm
bin/vncauthproxy.py
echo
"running django tests..."
>
&2
synnefo-manage
test
aai admin api db helpdesk invitations logic userdata
--settings
=
settings
_
test
synnefo-manage
test
aai admin api db helpdesk invitations logic userdata
--settings
=
synnefo.
settings
.
test
cd
..
deactivate
virtualenv
--no-site-packages
-ppython2
.7
env
source env
/bin/activate
PIP_DOWNLOAD_CACHE
=
/tmp/.pip_cache
pip
install
-r
requirements.pip
python setup.py
install
cd env
# avoid vncauthproxy errors
rm
bin/vncauthproxy.py
echo
"running django tests..."
>
&2
synnefo-manage
test
aai admin api db helpdesk invitations logic userdata
--settings
=
settings
_
test
synnefo-manage
test
aai admin api db helpdesk invitations logic userdata
--settings
=
synnefo.
settings
.
test
cd
..
deactivate
runtests.sh
View file @
cdfe6666
...
...
@@ -38,7 +38,7 @@
set
-e
echo
"Running Django tests..."
>
&2
python synnefo/manage.py
test
aai admin api db helpdesk invitations logic userdata
--settings
=
synnefo.settings
_
test
python synnefo/manage.py
test
aai admin api db helpdesk invitations logic userdata
--settings
=
synnefo.settings
.
test
echo
"Running snf-ganeti-tools tests..."
>
&2
PYTHONPATH
=
snf-ganeti-tools:
$PYTHONPATH
./snf-ganeti-tools/test/synnefo.ganeti_unittest.py
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment