Fix test app build and adjust the app path to the jam output directory.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41817 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Clemens Zeidler 2011-05-29 21:41:11 +00:00
parent 981bdb5af9
commit 806c3afaf6
3 changed files with 3 additions and 2 deletions

View File

@ -288,7 +288,7 @@ find_test_app(const char *testApp, BString *path)
if (error == B_OK) {
*path = BTestShell::GlobalTestDir();
path->CharacterEscape(" \t\n!\"'`$&()?*+{}[]<>|", '\\');
*path += "/../kits/app/";
*path += "/";
*path += testApp;
#ifdef TEST_R5
*path += "_r5";

View File

@ -1,6 +1,7 @@
// CommonTestApp.cpp
#include <stdio.h>
#include <cstring>
#include <OS.h>

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 += "/";
appPath += command;
#ifdef TEST_R5
appPath += "_r5";