forked from renggli/pharo-builder
-
Notifications
You must be signed in to change notification settings - Fork 6
/
testBuilderCI.sh
executable file
·29 lines (27 loc) · 945 Bytes
/
testBuilderCI.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash -x
#
# Test driver script for builderCI itself
#
# -verbose flag causes unconditional transcript display
#
# Copyright (c) 2012-2013 VMware, Inc. All Rights Reserved <[email protected]>.
# Copyright (C) 2014 GemTalk Systems LLC <[email protected]>
#
#run tests
./testTravisCI.sh "$@"
if [[ $? != 0 ]] ; then exit 1; fi
# make sure that system runs okay when you skip the metacello bootstrap step
cd $BUILDER_CI_HOME
./build.sh -i $ST -m -X -f "$BUILDER_CI_HOME/tests/skipMetacelloBootstrap.st" -o travisCI
if [[ $? != 0 ]] ; then
echo "ERROR: $(basename $0)"
cd "${BUILD_PATH}/travisCI/"
$BUILDER_CI_HOME/buildImageErrorCheck.sh # dump Transcript on error and exit
$BUILDER_CI_HOME/dumpTranscript.sh
exit 1
fi
cd "${BUILD_PATH}/travisCI/"
$BUILDER_CI_HOME/buildImageErrorCheck.sh
if [[ $? != 0 ]] ; then exit 1; fi
$BUILDER_CI_HOME/buildTravisStatusCheck.sh "$@"
if [[ $? != 0 ]] ; then exit 1; fi