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:
Ingo Weinhold 2002-09-03 01:12:49 +00:00
parent 435fb4275c
commit d821f8b21b
3 changed files with 3 additions and 3 deletions

View File

@ -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";

View File

@ -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";

View File

@ -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";