Author: czeidler Date: 2011-05-29 23:41:11 +0200 (Sun, 29 May 2011) New Revision: 41817 Changeset: https://dev.haiku-os.org/changeset/41817 Modified: haiku/trunk/src/tests/kits/app/common/AppRunner.cpp haiku/trunk/src/tests/kits/app/common/CommonTestApp.cpp haiku/trunk/src/tests/kits/app/common/PipedAppRunner.cpp Log: Fix test app build and adjust the app path to the jam output directory. Modified: haiku/trunk/src/tests/kits/app/common/AppRunner.cpp =================================================================== --- haiku/trunk/src/tests/kits/app/common/AppRunner.cpp 2011-05-29 21:20:02 UTC (rev 41816) +++ haiku/trunk/src/tests/kits/app/common/AppRunner.cpp 2011-05-29 21:41:11 UTC (rev 41817) @@ -288,7 +288,7 @@ if (error == B_OK) { *path = BTestShell::GlobalTestDir(); path->CharacterEscape(" \t\n!\"'`$&()?*+{}[]<>|", '\\'); - *path += "/../kits/app/"; + *path += "/"; *path += testApp; #ifdef TEST_R5 *path += "_r5"; Modified: haiku/trunk/src/tests/kits/app/common/CommonTestApp.cpp =================================================================== --- haiku/trunk/src/tests/kits/app/common/CommonTestApp.cpp 2011-05-29 21:20:02 UTC (rev 41816) +++ haiku/trunk/src/tests/kits/app/common/CommonTestApp.cpp 2011-05-29 21:41:11 UTC (rev 41817) @@ -1,6 +1,7 @@ // CommonTestApp.cpp #include <stdio.h> +#include <cstring> #include <OS.h> Modified: haiku/trunk/src/tests/kits/app/common/PipedAppRunner.cpp =================================================================== --- haiku/trunk/src/tests/kits/app/common/PipedAppRunner.cpp 2011-05-29 21:20:02 UTC (rev 41816) +++ haiku/trunk/src/tests/kits/app/common/PipedAppRunner.cpp 2011-05-29 21:41:11 UTC (rev 41817) @@ -41,7 +41,7 @@ if (findCommand) { appPath = BTestShell::GlobalTestDir(); appPath.CharacterEscape(" \t\n!\"'`$&()?*+{}[]<>|", '\\'); - appPath += "/../kits/app/"; + appPath += "/"; appPath += command; #ifdef TEST_R5 appPath += "_r5";