aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2013-01-14 19:40:15 +0000
committerstuconnolly <stuart02@gmail.com>2013-01-14 19:40:15 +0000
commitac05529d8fa9594105d73eb83c8e317d7bba61f4 (patch)
treebc2f6c631399258a379ecca6781db313865be496 /Frameworks
parent3ff05d672209116e1fe31ca676b4c7d09e421fb1 (diff)
downloadsequelpro-ac05529d8fa9594105d73eb83c8e317d7bba61f4.tar.gz
sequelpro-ac05529d8fa9594105d73eb83c8e317d7bba61f4.tar.bz2
sequelpro-ac05529d8fa9594105d73eb83c8e317d7bba61f4.zip
Make sure the test script exits with the correct code based on the success of the tests.
Diffstat (limited to 'Frameworks')
-rw-r--r--Frameworks/PostgresKit/PostgresKit.xcodeproj/project.pbxproj12
-rwxr-xr-xFrameworks/PostgresKit/Scripts/run-tests.sh2
2 files changed, 4 insertions, 10 deletions
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 $?