Run tests after build
diff --git a/.travis.yml b/.travis.yml
index c0b1407..b99bad5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,7 +7,7 @@
packages:
googletest
-script: ./build_for_tests.sh
+script: ./build_for_tests.sh && ./run_tests.sh
notifications:
email:
# c-dev@apache.axis.org doesn't work here because it's not an address registered on GitHub.
diff --git a/run_tests.sh b/run_tests.sh
new file mode 100755
index 0000000..403d078
--- /dev/null
+++ b/run_tests.sh
@@ -0,0 +1,29 @@
+#!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+
+
+
+# NOTE: This script requires that there be a working install in the ./deploy
+# directory. This is the default when having run ./build_for_tests.sh
+
+set -e
+
+AXIS2C_HOME=${AXIS2C_HOME:=`pwd`/deploy}
+export AXIS2C_HOME
+
+make check