diff options
-rwxr-xr-x | Scripts/run-tests.sh | 36 | ||||
-rw-r--r-- | sequel-pro.xcodeproj/project.pbxproj | 4 |
2 files changed, 1 insertions, 39 deletions
diff --git a/Scripts/run-tests.sh b/Scripts/run-tests.sh deleted file mode 100755 index 22ed51dd..00000000 --- a/Scripts/run-tests.sh +++ /dev/null @@ -1,36 +0,0 @@ -#! /bin/ksh - -# -# $Id$ -# -# run-tests.sh -# sequel-pro -# -# Created by Stuart Connolly (stuconnolly.com) -# Copyright (c) 2011 Stuart Connolly. All rights reserved. -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -# -# More info at <http://code.google.com/p/sequel-pro/> - -# Runs Sequel Pro's unit tests. This script should only be run by Xcode. - -# Add the unit test bundle's Frameworks/ path to the search paths for dynamic libraries -export DYLD_FRAMEWORK_PATH="${CONFIGURATION_BUILD_DIR}/${FULL_PRODUCT_NAME}/Contents/Frameworks" - -# Run the unit tests in this test bundle -"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests" - -exit 0 diff --git a/sequel-pro.xcodeproj/project.pbxproj b/sequel-pro.xcodeproj/project.pbxproj index 2a376bb1..71fa033e 100644 --- a/sequel-pro.xcodeproj/project.pbxproj +++ b/sequel-pro.xcodeproj/project.pbxproj @@ -800,7 +800,6 @@ 17E090E611498FC9007FC1B4 /* SPPrintController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SPPrintController.h; sourceTree = "<group>"; }; 17E090E711498FC9007FC1B4 /* SPPrintController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SPPrintController.m; sourceTree = "<group>"; }; 17E0937D114AE154007FC1B4 /* SPTableInfoPrintTemplate.html */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.html; name = SPTableInfoPrintTemplate.html; path = Templates/SPTableInfoPrintTemplate.html; sourceTree = "<group>"; }; - 17E20E1E12D6645F007F75A6 /* run-tests.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = "run-tests.sh"; sourceTree = "<group>"; }; 17E5954E14F304000054EE08 /* QueryKit.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = QueryKit.xcodeproj; path = Frameworks/QueryKit/QueryKit.xcodeproj; sourceTree = "<group>"; }; 17E641440EF01EB5001BC333 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; 17E641450EF01EB5001BC333 /* Sequel-Pro.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "Sequel-Pro.pch"; sourceTree = "<group>"; }; @@ -1683,7 +1682,6 @@ children = ( 1713122F109C7DF600FB465F /* build.sh */, 1798AB0C12676CD9000D946A /* localize.sh */, - 17E20E1E12D6645F007F75A6 /* run-tests.sh */, 1761FD9D0EF0488900331368 /* build-version.pl */, 178934980F30CDA10097539A /* trim-application.sh */, 174A345112DA4ED000DB0ADE /* create-test-stubs.pl */, @@ -3057,7 +3055,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Scripts/run-tests.sh\"\n"; + shellScript = "# Add the unit test bundle's Frameworks/ path to the search paths for dynamic libraries\nexport DYLD_FRAMEWORK_PATH=\"${CONFIGURATION_BUILD_DIR}/${FULL_PRODUCT_NAME}/Contents/Frameworks\"\n\n# Run the unit tests in this test bundle\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; }; /* End PBXShellScriptBuildPhase section */ |