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
commit9b1f7588e1610d4da6a07f336131f8cba4faa100 (patch)
treea3f8e445f653e2745b29f5c4c6a0a5a950d4c241
parent41714e87b6bec47a52a0aebc85517dd3b1d5d336 (diff)
downloadscintilla-mirror-9b1f7588e1610d4da6a07f336131f8cba4faa100.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