annotate tests/test-check-compat-strings.t @ 6866:cfad86381358 stable

tests: use testrepohg in test-check-flake8.t testrepohg is required if you want it to read ~/.hgrc. Important if the CI user is not root, but needs to trust root hgrc files.
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 02 Aug 2024 16:29:10 +0400
parents 73cd416a1653
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5193
a4d081923c81 compat: update hg-X.Y compat comments and test them
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
1 Enable obsolescence to avoid the warning issue when obsmarkers are found
a4d081923c81 compat: update hg-X.Y compat comments and test them
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
2
a4d081923c81 compat: update hg-X.Y compat comments and test them
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
3 $ cat << EOF >> $HGRCPATH
a4d081923c81 compat: update hg-X.Y compat comments and test them
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
4 > [experimental]
a4d081923c81 compat: update hg-X.Y compat comments and test them
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
5 > evolution = all
a4d081923c81 compat: update hg-X.Y compat comments and test them
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
6 > EOF
a4d081923c81 compat: update hg-X.Y compat comments and test them
Anton Shestakov <av6@dwimlabs.net>
parents:
diff changeset
7
5350
73cd416a1653 tests: replace check-compat-strings.sh with a Python script
Anton Shestakov <av6@dwimlabs.net>
parents: 5331
diff changeset
8 $ "$PYTHON" "$TESTDIR/testlib/check-compat-strings.py" \
73cd416a1653 tests: replace check-compat-strings.sh with a Python script
Anton Shestakov <av6@dwimlabs.net>
parents: 5331
diff changeset
9 > "$TESTDIR/../hgext3rd/" "$RUNTESTDIR/.."