summaryrefslogtreecommitdiff
path: root/tcwg-llvm-testsuite.sh
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2017-04-13 12:14:01 +0100
committerRenato Golin <renato.golin@linaro.org>2017-04-13 12:14:01 +0100
commit54913cab06b842fb07cad72a61145f2abb9ffa4f (patch)
tree9f1eb600b2948994b6aed486d2d241fe36a82055 /tcwg-llvm-testsuite.sh
parenta6f9e90cca8610a5e7627d4494905264dd8b73fb (diff)
tcwg-llvm-*: Add --depth 1 to git clones
Change-Id: Id8e3211856c35a1cbc1da8e264a83e5c8d72100f
Diffstat (limited to 'tcwg-llvm-testsuite.sh')
-rwxr-xr-xtcwg-llvm-testsuite.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcwg-llvm-testsuite.sh b/tcwg-llvm-testsuite.sh
index 359ff40b..40f88940 100755
--- a/tcwg-llvm-testsuite.sh
+++ b/tcwg-llvm-testsuite.sh
@@ -83,8 +83,8 @@ LOGBASE="$WORKSPACE/tcwg-llvm"
LOGEXT="txt"
# Checkout
-git clone http://llvm.org/git/test-suite.git "$WORKSPACE/test-suite" |& tee "$LOGBASE-clone.$LOGEXT"
-git clone http://llvm.org/git/lnt.git "$WORKSPACE/lnt" |& tee -a "$LOGBASE-clone.$LOGEXT"
+git clone --depth 1 http://llvm.org/git/test-suite.git "$WORKSPACE/test-suite" |& tee "$LOGBASE-clone.$LOGEXT"
+git clone --depth 1 http://llvm.org/git/lnt.git "$WORKSPACE/lnt" |& tee -a "$LOGBASE-clone.$LOGEXT"
# Prepare
python=$(which python2)