diff --git a/repos.make b/repos.make index 5f8c512d8e21b36bc261d582eada3b1551435a56_cmVwb3MubWFrZQ==..6f8ebd5a60dbdaf520b7c168b82fb0b583967df1_cmVwb3MubWFrZQ== 100644 --- 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 index 5f8c512d8e21b36bc261d582eada3b1551435a56_dGVzdHMvdGVzdC1zbW9rZS10ZXN0LnQ=..6f8ebd5a60dbdaf520b7c168b82fb0b583967df1_dGVzdHMvdGVzdC1zbW9rZS10ZXN0LnQ= 100644 --- a/tests/test-smoke-test.t +++ b/tests/test-smoke-test.t @@ -40,9 +40,9 @@ > 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: @@ -44,9 +44,9 @@ > (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,8 +100,9 @@ + 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 ) @@ -104,8 +105,9 @@ (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 )