allow testsuite to run in xcode 5 if custom build location

This commit is contained in:
toddouska 2013-12-18 16:16:35 -08:00
parent 9db9f52c9c
commit ea5b7ca9d1

View File

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