Mercurial > public > mercurial-scm > hg
diff tests/test-check-py3-compat.t @ 33204:ddd65b4f3ae6
tests: alias syshg and syshgenv so they can be switched conditionally
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 02 Jul 2017 13:14:20 +0900 |
parents | 6c113a7dec52 |
children | 05e3fa254b6b |
line wrap: on
line diff
--- a/tests/test-check-py3-compat.t Fri Jun 30 21:49:29 2017 +0900 +++ b/tests/test-check-py3-compat.t Sun Jul 02 13:14:20 2017 +0900 @@ -3,7 +3,8 @@ $ . "$TESTDIR/helpers-testrepo.sh" $ cd "$TESTDIR"/.. - $ syshg files 'set:(**.py)' | sed 's|\\|/|g' | xargs $PYTHON contrib/check-py3-compat.py + $ testrepohg files 'set:(**.py)' | sed 's|\\|/|g' \ + > | xargs $PYTHON contrib/check-py3-compat.py contrib/python-zstandard/setup.py not using absolute_import contrib/python-zstandard/setup_zstd.py not using absolute_import contrib/python-zstandard/tests/common.py not using absolute_import @@ -22,7 +23,8 @@ tests/test-demandimport.py not using absolute_import #if py3exe - $ syshg files 'set:(**.py) - grep(pygments)' -X hgext/fsmonitor/pywatchman \ + $ testrepohg files 'set:(**.py) - grep(pygments)' \ + > -X hgext/fsmonitor/pywatchman \ > | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py \ > | sed 's/[0-9][0-9]*)$/*)/' hgext/convert/transport.py: error importing: <*Error> No module named 'svn.client' (error at transport.py:*) (glob) @@ -38,7 +40,7 @@ #endif #if py3exe py3pygments - $ syshg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \ + $ testrepohg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \ > | xargs $PYTHON3 contrib/check-py3-compat.py \ > | sed 's/[0-9][0-9]*)$/*)/' #endif