Skip to content
Snippets Groups Projects
Commit 051f81109dff authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

smoketest: use the `local.repos` mechanism for the test repo

1) this is what it is meant for so let us use it.  2) if we don't use it, the
user's `local.repos` will be used instead of the `default.repos` we carefully
built for the test.
parent f35c3f37cb3d
No related branches found
No related tags found
No related merge requests found
......@@ -57,7 +57,7 @@
$ rsync --exclude 'repos' --exclude 'mercurial' -ra $TESTDIR/.. test-asv
$ cd test-asv
$ cat << EOF > default.repos
$ cat << EOF > local.repos
> smoke-test-A-11eb1fef
> # (second copy of the same repo, for testing)
> smoke-test-B-4324509a
......@@ -89,7 +89,7 @@
> EOF
$ export HGRCPATH="${TESTTMP}"/test-asv/test.hgrc
$ $PYTHON ./script/setup-repos default.repos repos "file://$TESTTMP/references/"
$ $PYTHON ./script/setup-repos $TESTTMP/test-asv/local.repos repos "file://$TESTTMP/references/"
2 repositories to setup in $TESTTMP/test-asv/repos
Setting up reference repository: smoke-test-A-11eb1fef
main reference
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment