Skip to content
Snippets Groups Projects
Commit 89872688 authored by Gregory Szorc's avatar Gregory Szorc
Browse files

tests: move '#require bzr' into .t files

The bzr tests are the only .t tests calling hghave (aside from the tests
testing hghave itself). This pattern is a one-off and prevents
desired refactors to how requirements checking is integrated into tests.
Use the convention used everywhere else.
parent dceaef70
No related branches found
No related tags found
No related merge requests found
# this file holds the definitions that are used in various bzr tests
"$TESTDIR/hghave" bzr || exit 80
TERM=dumb; export TERM
echo '[extensions]' >> $HGRCPATH
echo 'convert = ' >> $HGRCPATH
......
#require bzr114
#require bzr bzr114
$ . "$TESTDIR/bzr-definitions"
......
#require bzr
$ . "$TESTDIR/bzr-definitions"
......
#require bzr
$ . "$TESTDIR/bzr-definitions"
$ cat > ghostcreator.py <<EOF
......
#require bzr
N.B. bzr 1.13 has a bug that breaks this test. If you see this
test fail, check your bzr version. Upgrading to bzr 1.13.1
should fix it.
......
#require bzr
$ . "$TESTDIR/bzr-definitions"
$ cat > treeset.py <<EOF
......
#require bzr
$ . "$TESTDIR/bzr-definitions"
create and rename on the same file in the same step
......
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