Add support to execute cord-tester validation suite through ROBOT framework.
Change-Id: I3c6a1cd5f3824d78a0ab56fd2abbf307d39966fa
diff --git a/src/test/setup/cord-test.py b/src/test/setup/cord-test.py
index a6e778f..2613d99 100755
--- a/src/test/setup/cord-test.py
+++ b/src/test/setup/cord-test.py
@@ -520,7 +520,7 @@
test_cnt.start_switch()
if test_cnt.create and test_cnt.olt:
test_cnt.setup_intfs(port_num = port_num)
- test_cnt.run_tests()
+ status = test_cnt.run_tests()
if test_server:
cord_test_server_stop(test_server)
diff --git a/src/test/setup/prerequisites.sh b/src/test/setup/prerequisites.sh
index 183d763..194eceb 100755
--- a/src/test/setup/prerequisites.sh
+++ b/src/test/setup/prerequisites.sh
@@ -38,6 +38,7 @@
pip install -U netaddr
pip install -U python-daemon
pip install scapy-ssl_tls
+pip install robotframework
( cd /tmp && git clone https://github.com/jpetazzo/pipework.git && cp -v pipework/pipework /usr/bin && rm -rf pipework )
## Special mode to pull cord-tester repo in case prereqs was installed by hand instead of repo
if [ "$1" = "--test" ]; then