diff -r 93f82da09f22 -r c147620313c5 Debugger/DebuggerInterfacePython.py --- a/Debugger/DebuggerInterfacePython.py Thu Mar 21 19:27:42 2019 +0100 +++ b/Debugger/DebuggerInterfacePython.py Fri Mar 22 19:11:11 2019 +0100 @@ -927,21 +927,29 @@ "text": text, }) - def remoteUTPrepare(self, fn, tn, tfn, failed, cov, covname, coverase): + def remoteUTPrepare(self, fn, tn, tfn, failed, cov, covname, coverase, + syspath): """ Public method to prepare a new unittest run. - @param fn the filename to load (string) - @param tn the testname to load (string) - @param tfn the test function name to load tests from (string) + @param fn name of file to load + @type str + @param tn name of test to load + @type str + @param tfn test function name to load tests from + @type str @param failed list of failed test, if only failed test should be run - (list of strings) + @type list of str @param cov flag indicating collection of coverage data is requested - (boolean) - @param covname filename to be used to assemble the coverage caches - filename (string) + @type bool + @param covname name of file to be used to assemble the coverage caches + filename + @type str @param coverase flag indicating erasure of coverage data is requested - (boolean) + @type bool + @param syspath list of directories to be added to sys.path on the + remote side + @type list of str """ self.__scriptName = os.path.abspath(fn) @@ -954,6 +962,7 @@ "coverage": cov, "coveragefile": covname, "coverageerase": coverase, + "syspath": [] if syspath is None else syspath, }) def remoteUTRun(self):