##// END OF EJS Templates
py3: exclude pywatchman from test-check-py3-compat.t...
Pulkit Goyal -
r30673:81bf1a68 default
parent child Browse files
Show More
@@ -1,46 +1,42 b''
1 #require test-repo
1 #require test-repo
2
2
3 $ . "$TESTDIR/helpers-testrepo.sh"
3 $ . "$TESTDIR/helpers-testrepo.sh"
4 $ cd "$TESTDIR"/..
4 $ cd "$TESTDIR"/..
5
5
6 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
6 $ hg files 'set:(**.py)' | sed 's|\\|/|g' | xargs python contrib/check-py3-compat.py
7 contrib/python-zstandard/setup.py not using absolute_import
7 contrib/python-zstandard/setup.py not using absolute_import
8 contrib/python-zstandard/setup_zstd.py not using absolute_import
8 contrib/python-zstandard/setup_zstd.py not using absolute_import
9 contrib/python-zstandard/tests/common.py not using absolute_import
9 contrib/python-zstandard/tests/common.py not using absolute_import
10 contrib/python-zstandard/tests/test_cffi.py not using absolute_import
10 contrib/python-zstandard/tests/test_cffi.py not using absolute_import
11 contrib/python-zstandard/tests/test_compressor.py not using absolute_import
11 contrib/python-zstandard/tests/test_compressor.py not using absolute_import
12 contrib/python-zstandard/tests/test_data_structures.py not using absolute_import
12 contrib/python-zstandard/tests/test_data_structures.py not using absolute_import
13 contrib/python-zstandard/tests/test_decompressor.py not using absolute_import
13 contrib/python-zstandard/tests/test_decompressor.py not using absolute_import
14 contrib/python-zstandard/tests/test_estimate_sizes.py not using absolute_import
14 contrib/python-zstandard/tests/test_estimate_sizes.py not using absolute_import
15 contrib/python-zstandard/tests/test_module_attributes.py not using absolute_import
15 contrib/python-zstandard/tests/test_module_attributes.py not using absolute_import
16 contrib/python-zstandard/tests/test_roundtrip.py not using absolute_import
16 contrib/python-zstandard/tests/test_roundtrip.py not using absolute_import
17 contrib/python-zstandard/tests/test_train_dictionary.py not using absolute_import
17 contrib/python-zstandard/tests/test_train_dictionary.py not using absolute_import
18 i18n/check-translation.py not using absolute_import
18 i18n/check-translation.py not using absolute_import
19 setup.py not using absolute_import
19 setup.py not using absolute_import
20 tests/test-demandimport.py not using absolute_import
20 tests/test-demandimport.py not using absolute_import
21
21
22 #if py3exe
22 #if py3exe
23 $ hg files 'set:(**.py) - grep(pygments)' | sed 's|\\|/|g' \
23 $ hg files 'set:(**.py) - grep(pygments)' -X hgext/fsmonitor/pywatchman \
24 > | xargs $PYTHON3 contrib/check-py3-compat.py \
24 > | sed 's|\\|/|g' | xargs $PYTHON3 contrib/check-py3-compat.py \
25 > | sed 's/[0-9][0-9]*)$/*)/'
25 > | sed 's/[0-9][0-9]*)$/*)/'
26 hgext/convert/transport.py: error importing: <ImportError> No module named 'svn.client' (error at transport.py:*)
26 hgext/convert/transport.py: error importing: <ImportError> No module named 'svn.client' (error at transport.py:*)
27 hgext/fsmonitor/pywatchman/capabilities.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*)
27 hgext/fsmonitor/state.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*)
28 hgext/fsmonitor/pywatchman/compat.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*)
29 hgext/fsmonitor/pywatchman/encoding.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*)
30 hgext/fsmonitor/pywatchman/load.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*)
31 hgext/fsmonitor/pywatchman/pybser.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*)
32 hgext/fsmonitor/watchmanclient.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*)
28 hgext/fsmonitor/watchmanclient.py: error importing: <SyntaxError> from __future__ imports must occur at the beginning of the file (__init__.py, line 30) (error at watchmanclient.py:*)
33 mercurial/cffi/bdiff.py: error importing: <ImportError> No module named 'mercurial.cffi' (error at check-py3-compat.py:*)
29 mercurial/cffi/bdiff.py: error importing: <ImportError> No module named 'mercurial.cffi' (error at check-py3-compat.py:*)
34 mercurial/cffi/mpatch.py: error importing: <ImportError> No module named 'mercurial.cffi' (error at check-py3-compat.py:*)
30 mercurial/cffi/mpatch.py: error importing: <ImportError> No module named 'mercurial.cffi' (error at check-py3-compat.py:*)
35 mercurial/cffi/osutil.py: error importing: <ImportError> No module named 'mercurial.cffi' (error at check-py3-compat.py:*)
31 mercurial/cffi/osutil.py: error importing: <ImportError> No module named 'mercurial.cffi' (error at check-py3-compat.py:*)
36 mercurial/scmwindows.py: error importing: <ImportError> No module named 'msvcrt' (error at win32.py:*)
32 mercurial/scmwindows.py: error importing: <ImportError> No module named 'msvcrt' (error at win32.py:*)
37 mercurial/win32.py: error importing: <ImportError> No module named 'msvcrt' (error at win32.py:*)
33 mercurial/win32.py: error importing: <ImportError> No module named 'msvcrt' (error at win32.py:*)
38 mercurial/windows.py: error importing: <ImportError> No module named 'msvcrt' (error at windows.py:*)
34 mercurial/windows.py: error importing: <ImportError> No module named 'msvcrt' (error at windows.py:*)
39
35
40 #endif
36 #endif
41
37
42 #if py3exe py3pygments
38 #if py3exe py3pygments
43 $ hg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \
39 $ hg files 'set:(**.py) and grep(pygments)' | sed 's|\\|/|g' \
44 > | xargs $PYTHON3 contrib/check-py3-compat.py \
40 > | xargs $PYTHON3 contrib/check-py3-compat.py \
45 > | sed 's/[0-9][0-9]*)$/*)/'
41 > | sed 's/[0-9][0-9]*)$/*)/'
46 #endif
42 #endif
General Comments 0
You need to be logged in to leave comments. Login now