diff options
Diffstat (limited to 'scripts/Util.py')
-rw-r--r-- | scripts/Util.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/Util.py b/scripts/Util.py index c960ab51c32..8cae7867967 100644 --- a/scripts/Util.py +++ b/scripts/Util.py @@ -3305,10 +3305,11 @@ class MatlabMapping(CppBasedClientMapping): def getCommandLineWithArgs(self, current, process, exe, args): dir = self.getTestCwd(process, current) - return "matlab -nodesktop -nosplash -wait -log -minimize -r \"cd '" + dir + "';runTest" + " " + args + "\"" + scriptdir = os.path.join(os.path.dirname(__file__), "..", "matlab", "test", "lib"); + return "matlab -nodesktop -nosplash -wait -log -minimize -r \"cd '" + scriptdir + "';runTest " + dir + " " + args + "\"" def getDefaultSource(self, processType): - return { "client" : "runTest.m" }[processType] + return { "client" : "client.m" }[processType] class JavaScriptMapping(Mapping): |