Step 2: Move test folder to root
[integration/test.git] / tools / tools_vm / scripts / run_test_base_self.sh
diff --git a/tools/tools_vm/scripts/run_test_base_self.sh b/tools/tools_vm/scripts/run_test_base_self.sh
new file mode 100755 (executable)
index 0000000..9bb5a3a
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+# This script will pass base edition system test to local controller
+# Please make sure there is no controller or mininet running when launching the script
+echo starting controller Base edition...
+cd ~/controller-base/opendaylight
+./run.sh -start &> runlog.txt &
+sleep 120
+./run.sh -status
+cd ~
+pybot -d ${HOME} -v CONTROLLER:127.0.0.1 -v MININET:127.0.0.1 -v USER_HOME:${HOME} -v MININET_USER:${USER} ${HOME}/integration/test/csit/suites/base
+cd ~/controller-base/opendaylight
+./run.sh -stop
+