Commit b8d8de4d authored by Benjamin Blanc's avatar Benjamin Blanc

Update

parent 13e6aac9
...@@ -95,3 +95,6 @@ class ScalabilityTestRunner(): ...@@ -95,3 +95,6 @@ class ScalabilityTestRunner():
# TODO : write code # TODO : write code
pass pass
def getRelativePathUsage(self):
return True
...@@ -98,6 +98,9 @@ class UnitTestRunner(): ...@@ -98,6 +98,9 @@ class UnitTestRunner():
software_path_list=self.testnode.config.get("software_list")) software_path_list=self.testnode.config.get("software_list"))
def prepareSlapOSForTestSuite(self, node_test_suite): def prepareSlapOSForTestSuite(self, node_test_suite):
"""
Build softwares needed by testsuites
"""
log = self.testnode.log log = self.testnode.log
if log is None: if log is None:
log = self.testnode.log log = self.testnode.log
...@@ -148,8 +151,9 @@ class UnitTestRunner(): ...@@ -148,8 +151,9 @@ class UnitTestRunner():
cwd=node_test_suite.test_suite_directory, cwd=node_test_suite.test_suite_directory,
log_prefix='runTestSuite', get_output=False) log_prefix='runTestSuite', get_output=False)
def getRelativePathUsage(self):
return False
......
...@@ -361,7 +361,7 @@ branch = %(branch)s ...@@ -361,7 +361,7 @@ branch = %(branch)s
node_test_suite.edit(**test_suite) node_test_suite.edit(**test_suite)
run_software = True run_software = True
# Write our own software.cfg to use the local repository # Write our own software.cfg to use the local repository
self.constructProfile(node_test_suite) self.constructProfile(node_test_suite, runner.getRelativePathUsage())
# kill processes from previous loop if any # kill processes from previous loop if any
self.process_manager.killPreviousRun() self.process_manager.killPreviousRun()
self.getAndUpdateFullRevisionList(node_test_suite) self.getAndUpdateFullRevisionList(node_test_suite)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment