aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdocker/exec_tests.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/docker/exec_tests.sh b/docker/exec_tests.sh
index 5e0d30453..db053f7bc 100755
--- a/docker/exec_tests.sh
+++ b/docker/exec_tests.sh
@@ -22,7 +22,7 @@ git_checkout()
{
if git cat-file -e $1^{commit} 2>/dev/null; then
# branch, tag or sha1 object
- git checkout $1
+ git checkout $1 && git pull
else
# refspec / changeset
git fetch --tags --progress $2 $1
@@ -45,7 +45,6 @@ if [ ! -d $YARDSTICK_REPO_DIR ]; then
git clone $YARDSTICK_REPO $YARDSTICK_REPO_DIR
fi
cd $YARDSTICK_REPO_DIR
-git checkout master
git_checkout $YARDSTICK_BRANCH $YARDSTICK_REPO
# setup the environment
='n132' href='#n132'>132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185