git_compile changes and JamesTest changes to make mvn compile work
diff --git a/TestON/drivers/common/cli/onosclidriver.py b/TestON/drivers/common/cli/onosclidriver.py
index caf60db..6689dd4 100644
--- a/TestON/drivers/common/cli/onosclidriver.py
+++ b/TestON/drivers/common/cli/onosclidriver.py
@@ -815,16 +815,18 @@
'''
try:
main.log.info(self.name + ": mvn clean")
+ self.handle.sendline("cd " + self.home)
self.handle.sendline("mvn clean")
while 1:
i=self.handle.expect(['BUILD\sFAILURE','BUILD\sSUCCESS','ONOS\$',pexpect.TIMEOUT],timeout=30)
+ print(str(self.before))
if i == 0:
- main.log.error(self.name + ": Build failure!")
+ main.log.error(self.name + ": Clean failure!")
return main.FALSE
elif i == 1:
- main.log.info(self.name + ": Build success!")
+ main.log.info(self.name + ": Clean success!")
elif i == 2:
- main.log.info(self.name + ": Build complete")
+ main.log.info(self.name + ": Clean complete")
break;
elif i == 3:
main.log.error(self.name + ": mvn clean TIMEOUT!")