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:
parent
981bdb5af9
commit
806c3afaf6
@ -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";
|
||||
|
@ -1,6 +1,7 @@
|
||||
// CommonTestApp.cpp
|
||||
|
||||
#include <stdio.h>
|
||||
#include <cstring>
|
||||
|
||||
#include <OS.h>
|
||||
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user