# HG changeset patch # User Pierre-Yves David <pierre-yves.david@octobus.net> # Date 1533145697 -7200 # Wed Aug 01 19:48:17 2018 +0200 # Node ID 6f8ebd5a60dbdaf520b7c168b82fb0b583967df1 # Parent 5f8c512d8e21b36bc261d582eada3b1551435a56 setup: make sure reference repository are update to tip ASV currently needs it. diff --git a/repos.make b/repos.make --- a/repos.make +++ b/repos.make @@ -1,7 +1,7 @@ SOURCE=https://static.octobus.net/asv/ repos/mercurial-2018-08-01.benchrepo: - (cd repos/; curl $(SOURCE)/mercurial-2018-08-01-reference.tar | tar x) + (cd repos/; curl $(SOURCE)/mercurial-2018-08-01-reference.tar | tar x; hg -R mercurial-2018-08-01-reference update tip) (cd repos/.cache/; curl $(SOURCE)/mercurial-2018-08-01-partial-last-hundred.tar | tar x) (cd repos/.cache/; curl $(SOURCE)/mercurial-2018-08-01-partial-last-ten.tar | tar x) (cd repos/.cache/; curl $(SOURCE)/mercurial-2018-08-01-partial-last-thousand.tar | tar x) diff --git a/tests/test-smoke-test.t b/tests/test-smoke-test.t --- a/tests/test-smoke-test.t +++ b/tests/test-smoke-test.t @@ -40,13 +40,13 @@ > all: repos/smoke-test-A.benchrepo repos/smoke-test-B.benchrepo > > repos/smoke-test-A.benchrepo: - > (cd repos; tar xf \$(SOURCE)/smoke-test-A-reference.tar --warning=no-timestamp ) + > (cd repos; tar xf \$(SOURCE)/smoke-test-A-reference.tar --warning=no-timestamp; hg -R smoke-test-A-reference update tip) > (cd repos/.cache/; tar xf \$(SOURCE)/smoke-test-A-partial-last-hundred.tar --warning=no-timestamp ) > (cd repos/.cache/; tar xf \$(SOURCE)/smoke-test-A-partial-last-ten.tar --warning=no-timestamp ) > (cd repos/.cache/; tar xf \$(SOURCE)/smoke-test-A-partial-last-thousand.tar --warning=no-timestamp ) > (cd repos/.cache/; tar xf \$(SOURCE)/smoke-test-A-partial-same.tar --warning=no-timestamp ) > repos/smoke-test-B.benchrepo: - > (cd repos; tar xf \$(SOURCE)/smoke-test-B-reference.tar --warning=no-timestamp ) + > (cd repos; tar xf \$(SOURCE)/smoke-test-B-reference.tar --warning=no-timestamp; hg -R smoke-test-B-reference update tip) > (cd repos/.cache/; tar xf \$(SOURCE)/smoke-test-B-partial-last-hundred.tar --warning=no-timestamp ) > (cd repos/.cache/; tar xf \$(SOURCE)/smoke-test-B-partial-last-ten.tar --warning=no-timestamp ) > (cd repos/.cache/; tar xf \$(SOURCE)/smoke-test-B-partial-last-thousand.tar --warning=no-timestamp ) @@ -100,12 +100,14 @@ + mkdir -p repos/ + mkdir -p repos/.cache + make MAKE_VERBOSE=1 -f repos.make - (cd repos; tar xf "$TESTTMP/references"/smoke-test-A-reference.tar --warning=no-timestamp ) + (cd repos; tar xf "$TESTTMP/references"/smoke-test-A-reference.tar --warning=no-timestamp; hg -R smoke-test-A-reference update tip) + 2001 files updated, 0 files merged, 0 files removed, 0 files unresolved (cd repos/.cache/; tar xf "$TESTTMP/references"/smoke-test-A-partial-last-hundred.tar --warning=no-timestamp ) (cd repos/.cache/; tar xf "$TESTTMP/references"/smoke-test-A-partial-last-ten.tar --warning=no-timestamp ) (cd repos/.cache/; tar xf "$TESTTMP/references"/smoke-test-A-partial-last-thousand.tar --warning=no-timestamp ) (cd repos/.cache/; tar xf "$TESTTMP/references"/smoke-test-A-partial-same.tar --warning=no-timestamp ) - (cd repos; tar xf "$TESTTMP/references"/smoke-test-B-reference.tar --warning=no-timestamp ) + (cd repos; tar xf "$TESTTMP/references"/smoke-test-B-reference.tar --warning=no-timestamp; hg -R smoke-test-B-reference update tip) + 2001 files updated, 0 files merged, 0 files removed, 0 files unresolved (cd repos/.cache/; tar xf "$TESTTMP/references"/smoke-test-B-partial-last-hundred.tar --warning=no-timestamp ) (cd repos/.cache/; tar xf "$TESTTMP/references"/smoke-test-B-partial-last-ten.tar --warning=no-timestamp ) (cd repos/.cache/; tar xf "$TESTTMP/references"/smoke-test-B-partial-last-thousand.tar --warning=no-timestamp )