+++ /dev/null
-michaelw/toaster-frontend-cleanups|PENDING
-adamian/test_0|PENDING
errtext = None
out = None
try:
- out = shellutils.run_shell_cmd("./runner.py %s" % next_task)
+ out = shellutils.run_shell_cmd("%s %s" % (os.path.join(os.path.dirname(__file__), "runner.py"), next_task))
pass
except ShellCmdException as e:
print("Failed while running the test runner: %s", e)
# cleanup !
def clean_up(testdir):
# TODO: delete the test dir
- #run_shell_cmd("rm -rf -- '%s'" % testdir)
+ run_shell_cmd("rm -rf -- '%s'" % testdir)
pass
if __name__ == "__main__":
def test_start_interactive_mode(self):
try:
- run_shell_cmd("bash -c 'source %s/oe-init-build-env && source toaster start && source toaster stop'" % config.testdir, config.testdir)
+ run_shell_cmd("bash -c 'source %s/oe-init-build-env && source toaster start webport=56789 && source toaster stop'" % config.testdir, config.testdir)
except ShellCmdException as e:
self.fail("Failed starting interactive mode: %s" % (e))