##// END OF EJS Templates
test: generate the `test-sparse-revlog` artifact when slow-test is allowed...
marmoute -
r41970:090a4125 default
parent child Browse files
Show More
@@ -12,10 +12,22 b' repeatedly while some of it changes rare'
12 12 $ bundlepath="$TESTDIR/artifacts/cache/big-file-churn.hg"
13 13
14 14 $ expectedhash=`cat "$bundlepath".md5`
15
16 #if slow
17
18 $ if [ ! -f "$bundlepath" ]; then
19 > "$TESTDIR"/artifacts/scripts/generate-churning-bundle.py > /dev/null
20 > fi
21
22 #else
23
15 24 $ if [ ! -f "$bundlepath" ]; then
16 25 > echo 'skipped: missing artifact, run "'"$TESTDIR"'/artifacts/scripts/generate-churning-bundle.py"'
17 26 > exit 80
18 27 > fi
28
29 #endif
30
19 31 $ currenthash=`f -M "$bundlepath" | cut -d = -f 2`
20 32 $ if [ "$currenthash" != "$expectedhash" ]; then
21 33 > echo 'skipped: outdated artifact, md5 "'"$currenthash"'" expected "'"$expectedhash"'" run "'"$TESTDIR"'/artifacts/scripts/generate-churning-bundle.py"'
General Comments 0
You need to be logged in to leave comments. Login now