Skip to content

Commit

Permalink
Py3 Runtime: distribute the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-c committed Nov 26, 2020
1 parent 86610fd commit 7ee3901
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .travis/run-tests-python3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=python3.* test

cd ../runtime/Python3/test

python3 run.py
python3 -m unittest discover -s test -p '*.py'
3 changes: 2 additions & 1 deletion contributors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -279,4 +279,5 @@ YYYY/MM/DD, github id, Full name, email
2020/10/16, adarshbhat, Adarsh Bhat, adarshbhat@users.noreply.github.com
2020/10/20, adamwojs, Adam Wójs, adam[at]wojs.pl
2020/10/24, cliid, Jiwu Jang, jiwujang@naver.com
2020/11/05, MichelHartmann, Michel Hartmann, MichelHartmann@users.noreply.github.com
2020/11/05, MichelHartmann, Michel Hartmann, MichelHartmann@users.noreply.github.com
2020/11/26, mr-c, Michael R. Crusoe, 1330696+mr-c@users.noreply.github.com
3 changes: 2 additions & 1 deletion runtime/Python3/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include *.txt
include *.txt
recursive-include test *.py
9 changes: 7 additions & 2 deletions runtime/Python3/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@
setup(
name='antlr4-python3-runtime',
version='4.9',
packages=['antlr4', 'antlr4.atn', 'antlr4.dfa', 'antlr4.tree', 'antlr4.error', 'antlr4.xpath'],
package_dir={'': 'src'},
packages=['antlr4', 'antlr4.atn', 'antlr4.dfa', 'antlr4.tree',
'antlr4.error', 'antlr4.xpath', 'antlr4.test',
'antlr4.test.mocks', 'antlr4.test.expr',
'antlr4.test.parser'],
package_dir={'': 'src',
'antlr4.test': 'test', },
install_requires=[
"typing ; python_version<'3.5'",
],
url='http://www.antlr.org',
license='BSD',
author='Eric Vergnaud, Terence Parr, Sam Harwell',
author_email='eric.vergnaud@wanadoo.fr',
scripts=["bin/pygrun"],
description='ANTLR 4.9 runtime for Python 3.7'
)
Empty file.
12 changes: 0 additions & 12 deletions runtime/Python3/test/run.py

This file was deleted.

0 comments on commit 7ee3901

Please sign in to comment.