Skip to content

Commit c94c176

Browse files
author
Leopoldo
committed
Rename file
1 parent a442edc commit c94c176

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

thesame_tests_travis_does.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/sh
2+
3+
echo "exporting NETWORKAPI_DEBUG"
4+
export NETWORKAPI_LOG_QUEUE=0
5+
6+
echo "exporting DJANGO_SETTINGS_MODULE"
7+
export DJANGO_SETTINGS_MODULE='networkapi.settings_ci'
8+
9+
# Updates the SDN controller ip address
10+
export REMOTE_CTRL_IP=$(nslookup netapi_odl | grep Address | tail -1 | awk '{print $2}')
11+
echo "Found SDN controller at $REMOTE_CTRL_IP"
12+
13+
echo "Starting tests.."
14+
python manage.py test app=networkapi/api_environment
15+
python manage.py test app=networkapi/plugins/SDN
16+
python manage.py test app=networkapi/api_ip
17+
python manage.py test app=networkapi/api_network
18+
python manage.py test app=networkapi/api_environment_vip
19+
python manage.py test app=networkapi/api_asn
20+
python manage.py test app=networkapi/api_interface
21+
python manage.py test app=networkapi/api_list_config_bgp
22+
python manage.py test app=networkapi/api_rack
23+

0 commit comments

Comments
 (0)