Relative path of remote applications has changed when the actual unit tester executable has been moved into subdirectories.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@968 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
435fb4275c
commit
d821f8b21b
@ -139,7 +139,7 @@ RemoteSMTarget::RemoteSMTarget(bool preferred)
|
||||
BString unescapedTestDir(BTestShell::GlobalTestDir());
|
||||
unescapedTestDir.CharacterEscape(" \t\n!\"'`$&()?*+{}[]<>|", '\\');
|
||||
string remoteApp(unescapedTestDir.String());
|
||||
remoteApp += "/kits/app/SMRemoteTargetApp ";
|
||||
remoteApp += "/../kits/app/SMRemoteTargetApp ";
|
||||
remoteApp += portName;
|
||||
if (preferred)
|
||||
remoteApp += " preferred";
|
||||
|
@ -287,7 +287,7 @@ find_test_app(const char *testApp, BString *path)
|
||||
if (error == B_OK) {
|
||||
*path = BTestShell::GlobalTestDir();
|
||||
path->CharacterEscape(" \t\n!\"'`$&()?*+{}[]<>|", '\\');
|
||||
*path += "/kits/app/";
|
||||
*path += "/../kits/app/";
|
||||
*path += testApp;
|
||||
#ifdef TEST_R5
|
||||
*path += "_r5";
|
||||
|
@ -41,7 +41,7 @@ PipedAppRunner::Run(const char *command, const char *args, bool findCommand)
|
||||
if (findCommand) {
|
||||
appPath = BTestShell::GlobalTestDir();
|
||||
appPath.CharacterEscape(" \t\n!\"'`$&()?*+{}[]<>|", '\\');
|
||||
appPath += "/kits/app/";
|
||||
appPath += "/../kits/app/";
|
||||
appPath += command;
|
||||
#ifdef TEST_R5
|
||||
appPath += "_r5";
|
||||
|
Loading…
Reference in New Issue
Block a user