You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2017/12/06 15:29:36 UTC
[trafficserver] branch master updated: Update the autest.sh script
that runs from Jenkins
This is an automated email from the ASF dual-hosted git repository.
zwoop pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new f8425fa Update the autest.sh script that runs from Jenkins
f8425fa is described below
commit f8425fa93758e2c025e3b847298acc5c4a5d52c9
Author: Leif Hedstrom <zw...@apache.org>
AuthorDate: Mon Dec 4 15:41:52 2017 -0700
Update the autest.sh script that runs from Jenkins
---
ci/jenkins/bin/autest.sh | 26 ++++++++++++++++----------
1 file changed, 16 insertions(+), 10 deletions(-)
diff --git a/ci/jenkins/bin/autest.sh b/ci/jenkins/bin/autest.sh
index 458f90e..7e90bf8 100644
--- a/ci/jenkins/bin/autest.sh
+++ b/ci/jenkins/bin/autest.sh
@@ -16,31 +16,37 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# Setup autoconf
-cd src
[ -d tests ] || exit 0
-autoreconf -if
-
+# Setup autoconf
INSTALL="${WORKSPACE}/${BUILD_NUMBER}/install"
+mkdir -p $INSTALL
+cd src
+autoreconf -if
URL="https://ci.trafficserver.apache.org/files/autest"
AUSB="ausb-${ghprbPullId}.${BUILD_NUMBER}"
SANDBOX="/var/tmp/${AUSB}"
-mkdir -p $INSTALL
-
-./configure --prefix="$INSTALL" \
+./configure --prefix="${INSTALL}" \
--with-user=jenkins \
--enable-experimental-plugins \
+ --enable-example-plugins \
--enable-ccache \
--enable-debug \
+ --enable-wccp \
--enable-werror
# Build and run regressions
-${ATS_MAKE} ${ATS_MAKE_FLAGS} V=1 Q= || exit -1
-${ATS_MAKE} install
-/usr/bin/autest -D ./tests/gold_tests --sandbox "$SANDBOX" --ats-bin "${INSTALL}/bin"
+${ATS_MAKE} -j4 && ${ATS_MAKE} install
+${INSTALL}/bin/traffic_server -K -k -R 1
+[ "0" != "$?" ] && exit -1
+
+# Now run autest
+AUTEST="/usr/bin/autest"
+[ ! -x ${AUTEST} ] && AUTEST="/usr/local/bin/autest"
+
+${AUTEST} -D ./tests/gold_tests --sandbox "$SANDBOX" --ats-bin "${INSTALL}/bin"
status=$?
# Cleanup
--
To stop receiving notification emails like this one, please contact
['"commits@trafficserver.apache.org" <co...@trafficserver.apache.org>'].