From ac05529d8fa9594105d73eb83c8e317d7bba61f4 Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Mon, 14 Jan 2013 19:40:15 +0000 Subject: Make sure the test script exits with the correct code based on the success of the tests. --- Frameworks/PostgresKit/PostgresKit.xcodeproj/project.pbxproj | 12 +++--------- Frameworks/PostgresKit/Scripts/run-tests.sh | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'Frameworks') diff --git a/Frameworks/PostgresKit/PostgresKit.xcodeproj/project.pbxproj b/Frameworks/PostgresKit/PostgresKit.xcodeproj/project.pbxproj index dfc30b4b..b2cb37cd 100644 --- a/Frameworks/PostgresKit/PostgresKit.xcodeproj/project.pbxproj +++ b/Frameworks/PostgresKit/PostgresKit.xcodeproj/project.pbxproj @@ -564,7 +564,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - BUNDLE_LOADER = ""; COPY_PHASE_STRIP = NO; FRAMEWORK_SEARCH_PATHS = "$(DEVELOPER_LIBRARY_DIR)/Frameworks"; GCC_DYNAMIC_NO_PIC = NO; @@ -582,9 +581,8 @@ "-framework", SenTestingKit, ); - PREBINDING = NO; + PREBINDING = YES; PRODUCT_NAME = Tests; - TEST_HOST = ""; WRAPPER_EXTENSION = octest; }; name = Debug; @@ -593,7 +591,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - BUNDLE_LOADER = ""; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; FRAMEWORK_SEARCH_PATHS = "$(DEVELOPER_LIBRARY_DIR)/Frameworks"; @@ -610,9 +607,8 @@ "-framework", SenTestingKit, ); - PREBINDING = NO; + PREBINDING = YES; PRODUCT_NAME = Tests; - TEST_HOST = ""; WRAPPER_EXTENSION = octest; ZERO_LINK = NO; }; @@ -622,7 +618,6 @@ isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - BUNDLE_LOADER = ""; FRAMEWORK_SEARCH_PATHS = "$(DEVELOPER_LIBRARY_DIR)/Frameworks"; GCC_ENABLE_FIX_AND_CONTINUE = NO; GCC_ENABLE_OBJC_EXCEPTIONS = YES; @@ -637,9 +632,8 @@ "-framework", SenTestingKit, ); - PREBINDING = NO; + PREBINDING = YES; PRODUCT_NAME = Tests; - TEST_HOST = ""; WRAPPER_EXTENSION = octest; }; name = Distribution; diff --git a/Frameworks/PostgresKit/Scripts/run-tests.sh b/Frameworks/PostgresKit/Scripts/run-tests.sh index 3bcb9457..5f3f271b 100755 --- a/Frameworks/PostgresKit/Scripts/run-tests.sh +++ b/Frameworks/PostgresKit/Scripts/run-tests.sh @@ -68,4 +68,4 @@ fi "${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests" -exit 0 +exit $? -- cgit v1.2.3