From ea5b7ca9d14d64a81add26550ca20d591b1bb470 Mon Sep 17 00:00:00 2001 From: toddouska Date: Wed, 18 Dec 2013 16:16:35 -0800 Subject: [PATCH] allow testsuite to run in xcode 5 if custom build location --- testsuite/testsuite.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/testsuite/testsuite.c b/testsuite/testsuite.c index 351a7471f..43f2d5300 100644 --- a/testsuite/testsuite.c +++ b/testsuite/testsuite.c @@ -81,9 +81,11 @@ int main(int argc, char** argv) if (CurrentDir("testsuite")) ChangeDirBack(1); - else if (CurrentDir("build")) /* Xcode->Preferences->Locations->Build */ - ChangeDirBack(2); /* Location "Place build product in locations - specified by targets", uses build/Debug */ + else if (CurrentDir("Debug") || CurrentDir("Release")) + ChangeDirBack(3); /* Xcode->Preferences->Locations->Locations*/ + /* Derived Data Advanced -> Custom */ + /* Relative to Workspace, Build/Products */ + /* Debug or Release */ server_args.signal = &ready; InitTcpReady(&ready);