diff options
Diffstat (limited to 'Scripts/run-tests.sh')
-rwxr-xr-x | Scripts/run-tests.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Scripts/run-tests.sh b/Scripts/run-tests.sh new file mode 100755 index 00000000..d1472f5e --- /dev/null +++ b/Scripts/run-tests.sh @@ -0,0 +1,18 @@ +#! /bin/ksh + +## $Id$ +## +## Author: Stuart Connolly (stuconnolly.com) +## Copyright (c) 2011 Stuart Connolly. All rights reserved. +## +## Paramters: <none> +## +## Description: 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 |