aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil Hodgson <nyamatongwe@gmail.com>2013-11-17 11:47:27 +1100
committerNeil Hodgson <nyamatongwe@gmail.com>2013-11-17 11:47:27 +1100
commit666f5b75fb1c2e65260a4a54d102c0280ff7c01a (patch)
treed605119bc2dd5ef518a394873d88885d49a05c2d
parent041f5243ba5c3d3440a26cefe736eb71354a8dcc (diff)
downloadscintilla-mirror-666f5b75fb1c2e65260a4a54d102c0280ff7c01a.tar.gz
Add unit tests.
-rwxr-xr-xcocoa/checkbuildosx.sh15
1 files changed, 13 insertions, 2 deletions
diff --git a/cocoa/checkbuildosx.sh b/cocoa/checkbuildosx.sh
index 0b4cecbbf..45f7ae439 100755
--- a/cocoa/checkbuildosx.sh
+++ b/cocoa/checkbuildosx.sh
@@ -4,10 +4,21 @@
cd ../..
# ************************************************************
-# Target 1: build framework and test app with Xcode targetting OS X 10.n with n from 9 to 5
+# Target 1: Unit tests
+
+echo Unit tests
+
+cd scintilla/test/unit
+make clean
+make test
+cd ../../..
+
+# ************************************************************
+# Target 2: build framework and test app with Xcode targetting OS X 10.n with n from 9 to 5
# Only SDK versions that are installed will be built
# Clean both then build both -- if perform clean in ScintillaTest, also cleans ScintillaFramework
# which can cause double build
+
echo Building Cocoa-native ScintillaFramework and ScintillaTest
for sdk in macosx10.9 macosx10.8 macosx10.7 macosx10.6 macosx10.5
do
@@ -30,7 +41,7 @@ do
done
# ************************************************************
-# Target 2: Qt builds
+# Target 3: Qt builds
# Requires Qt development libraries and qmake to be installed
echo Building Qt and PySide