Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make runtime-testsuite tests run in parallel #3423

Closed
wants to merge 78 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
18f2471
[C++] Upstream various performance, build, and best practice fixes
jcking Oct 28, 2021
709dcfb
Add .clang-format file to ensure consistent style of C++
jcking Nov 2, 2021
a8d8280
[C++] Bump minimum required version to C++17
jcking Nov 1, 2021
f711e32
Fix TSAN warnings related to dfa::DFA::s0
jcking Oct 18, 2021
bd37cf0
Get rid of reflection in Go.stg, fixes #2278
KvanTTT Nov 6, 2021
0129cd4
Merge pull request #3311 from jcking/cpp-go-runtime-thread-safety
parrt Nov 14, 2021
ec144ca
Merge pull request #3327 from jcking/cpp-string-copy
parrt Nov 14, 2021
53acf56
Update case-insensitive-lexing.md
tianshuang Nov 15, 2021
aeaa445
Merge pull request #3355 from tianshuang/patch-1
ericvergnaud Nov 15, 2021
92be1ba
[C++] Cleanup ATNDeserializer interface
jcking Oct 28, 2021
7fb7373
Merge branch 'master' into cpp-guid-cache
jcking Nov 15, 2021
d3cd381
Improve C# runtime tests performance: compile C# runtime once per ses…
KvanTTT Nov 27, 2021
4695151
Get rid of dealing with files during C# runtime test running
KvanTTT Nov 27, 2021
90093c8
C# runtime tests: don't write useless output to console
KvanTTT Nov 27, 2021
eaed457
JavaScript runtime tests: get rid of package installing using npm, us…
KvanTTT Nov 28, 2021
67e34fb
Go runtime tests: get rid of useless copying of runtime files on ever…
KvanTTT Nov 28, 2021
1493859
Merge pull request #3326 from jcking/cpp-guid-cache
parrt Nov 28, 2021
7832bb2
Merge branch 'master' into cpp17
jcking Nov 28, 2021
7a87cdc
Go runtime tests: fix working with the latest version of GO, use GORO…
KvanTTT Nov 28, 2021
d49facf
Go runtime tests: cache go.mod file, don't run go mod command every test
KvanTTT Nov 28, 2021
e811330
Merge pull request #3365 from KvanTTT/csharp-runtime-tests-performance
ericvergnaud Nov 29, 2021
024e99e
Merge pull request #3335 from jcking/cpp17
parrt Nov 29, 2021
12e362b
C# runtime tests: fix running on non-Windows OS
KvanTTT Nov 29, 2021
0ee7f45
Fix reported memory leak
jcking Nov 29, 2021
710f44e
[C++] Switch from NOEXCEPT to noexcept
jcking Nov 30, 2021
652546f
Fix Dart linter errors under strict mode
jcking Nov 30, 2021
0d6263a
[C++] Modernize Vocabulary using std::string_view
jcking Nov 30, 2021
24d9128
[Java] Fix complaints from ErrorProne static analysis
jcking Dec 1, 2021
a5dfd61
Merge pull request #3380 from jcking/java-lint
parrt Dec 1, 2021
3a5f112
Update JavaScript like https://github.com/antlr/antlr4/pull/3380
parrt Dec 1, 2021
1d52c9b
[Java] Fix remaining complaints from ErrorProne static analysis
jcking Dec 2, 2021
20c7ebf
Merge pull request #3383 from jcking/java-lint
parrt Dec 2, 2021
7da07c7
Merge pull request #3376 from jcking/dart-lint
parrt Dec 3, 2021
f0ebf53
Go runtime tests: fix running on non-Windows OS
KvanTTT Nov 29, 2021
5a23e37
Mark initializeRuntime methods with synchronized to make them multi-t…
KvanTTT Nov 29, 2021
d3c2253
Merge pull request #3374 from jcking/cpp-memory-leak
parrt Dec 4, 2021
489de64
Merge pull request #3377 from jcking/cpp-noexcept
parrt Dec 4, 2021
2f834a1
[C++] Partially undo commit a8d828016e54adfc403326d8e56d93e7c75c27fc
jcking Dec 6, 2021
72e0627
Merge pull request #3393 from jcking/cpp-implicit-capture
parrt Dec 6, 2021
7b2b378
[C++] Fix ambiguous ANTLRInputStream constructor overload
jcking Dec 6, 2021
261769f
Merge pull request #3394 from jcking/cpp-string-view
parrt Dec 6, 2021
5a798ee
update maven plug-in versions for antlr4 maven plug-in
parrt Dec 6, 2021
e603b73
update maven plug-in versions
parrt Dec 6, 2021
34e445a
update maven plug-in versions
parrt Dec 6, 2021
3801358
Merge pull request #3386 from KvanTTT/csharp-go-runtime-tests-fixes
parrt Dec 6, 2021
196067d
Merge branch 'master' into update-maven-plugin-versions
parrt Dec 6, 2021
f45e07c
for some reason `java.*` had to become `java.**` in the mvn build w…
parrt Dec 7, 2021
3d819fa
update scripts to also use python3.** meditation
parrt Dec 7, 2021
7ae32c9
tweak doc for testing individual targets.
parrt Dec 7, 2021
66d6679
Merge pull request #3396 from parrt/update-maven-plugin-versions
parrt Dec 7, 2021
70b2edc
[C++] Switch to std::any and deprecate antlrcpp::Any
jcking Dec 6, 2021
3cf70fc
Merge pull request #3395 from jcking/cpp-any
parrt Dec 7, 2021
4318037
Merge pull request #3337 from jcking/clang-format
parrt Dec 7, 2021
ceac269
Merge pull request #3378 from jcking/cpp-vocab-string-view
parrt Dec 7, 2021
e8122ca
use java.** not java.* etc... in other test rigs.
parrt Dec 7, 2021
afb0b90
tweak antlr4 maven plugin takari thing to see if it builds
parrt Dec 8, 2021
e63ecf6
use maven 3.8 in github actions setup.
parrt Dec 8, 2021
e472a97
don't require maven 3.8 to use antlr4 maven plugin on grammars. Wasn…
parrt Dec 8, 2021
14916ba
ugh. be more specific with github actions for maven version.
parrt Dec 8, 2021
82c4417
1.6 -> 1.7 in our test rig compilation. tweak doc.
parrt Dec 8, 2021
7e50fcf
[C++] Cleanup EMPTY_VOCABULARY uses and remove SingleWriteMultipleRea…
jcking Dec 9, 2021
2349fb2
[C++] Implement standalone Unicode encoding and decoding handling
jcking Dec 7, 2021
bc61e31
Fixed C++ runtime demo
mike-lischke Dec 11, 2021
0fd085b
Merge pull request #3402 from mike-lischke/master
parrt Dec 11, 2021
43fb4c2
Merge pull request #3398 from jcking/cpp-cleanup
parrt Dec 11, 2021
27ed0e9
Merge branch 'master' into cpp-vocab-cleanup
jcking Dec 13, 2021
6f8d648
[C++] Optimize ATN deserialization
jcking Dec 11, 2021
01a3280
Merge pull request #3400 from jcking/cpp-vocab-cleanup
parrt Dec 13, 2021
a850e96
Merge pull request #3401 from jcking/c-runtime
parrt Dec 13, 2021
5d6a782
Merge pull request #3353 from KvanTTT/go-improvements
parrt Dec 13, 2021
371ec7f
[C++] Clean up antlr4::misc::Interval and antlr4::dfa
jcking Dec 14, 2021
dd623ec
Merge pull request #3409 from jcking/cpp-optimize
parrt Dec 18, 2021
215a188
[Go] Improve BitSet implementation
jcking Dec 20, 2021
6b83a20
Merge pull request #3421 from jcking/bitset
parrt Dec 20, 2021
8e9c2d0
Update README.md
parrt Dec 20, 2021
329a584
[Go] Make BaseGoTest::initializeRuntime static
jcking Dec 20, 2021
ed31d62
Merge pull request #3422 from jcking/go-test-speed
parrt Dec 20, 2021
40528ef
Make runtime-testsuite tests run in parallel
jcking Dec 20, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .appveyor/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ for:
- cd tool-testsuite
- mvn -q test
- cd ..\runtime-testsuite
- mvn -q -Dtest=java.* test
- mvn -q -Dtest=java.** test

- matrix:
only:
Expand All @@ -49,7 +49,7 @@ for:
- dotnet pack runtime/CSharp/src/Antlr4.csproj -c Release
test_script:
- cd runtime-testsuite
- mvn -q -Dtest=csharp.* test
- mvn -q -Dtest=csharp.** test
artifacts:
- path: 'runtime\**\*.nupkg'
name: NuGet
Expand All @@ -63,7 +63,7 @@ for:
- mvn -q -DskipTests install --batch-mode
test_script:
- cd runtime-testsuite
- mvn -q -Dtest=dart.* test -Dantlr-dart-dart="C:\tools\dart-sdk\bin\dart.exe" -Dantlr-dart-pub="C:\tools\dart-sdk\bin\pub.bat" -Dantlr-dart-dart2native="C:\tools\dart-sdk\bin\dart2native.bat"
- mvn -q -Dtest=dart.** test -Dantlr-dart-dart="C:\tools\dart-sdk\bin\dart.exe" -Dantlr-dart-pub="C:\tools\dart-sdk\bin\pub.bat" -Dantlr-dart-dart2native="C:\tools\dart-sdk\bin\dart2native.bat"

- matrix:
only:
Expand All @@ -72,7 +72,7 @@ for:
- mvn -q -DskipTests install --batch-mode
test_script:
- cd runtime-testsuite
- mvn -q -Dtest=go.* test
- mvn -q -Dtest=go.** test

- matrix:
only:
Expand All @@ -93,7 +93,7 @@ for:
- yarn test
- cd ..\..
- cd runtime-testsuite
- mvn -q -Dtest=javascript.* test -Dantlr-javascript-npm="C:\Program Files\nodejs\npm.cmd" -Dantlr-javascript-nodejs="C:\Program Files\nodejs\node.exe"
- mvn -q -Dtest=javascript.** test -Dantlr-javascript-npm="C:\Program Files\nodejs\npm.cmd" -Dantlr-javascript-nodejs="C:\Program Files\nodejs\node.exe"

- matrix:
only:
Expand All @@ -107,7 +107,7 @@ for:
- mvn -q -DskipTests install --batch-mode
test_script:
- cd runtime-testsuite
- mvn -q -Dtest=php.* test -Dantlr-php-php="C:\tools\php\php.exe"
- mvn -q -Dtest=php.** test -Dantlr-php-php="C:\tools\php\php.exe"

- matrix:
only:
Expand All @@ -116,7 +116,7 @@ for:
- mvn -q -DskipTests install --batch-mode
test_script:
- cd runtime-testsuite
- mvn -q -Dtest=python2.* test -Dantlr-python2-python="C:\Python27\python.exe"
- mvn -q -Dtest=python2.** test -Dantlr-python2-python="C:\Python27\python.exe"

- matrix:
only:
Expand All @@ -125,4 +125,4 @@ for:
- mvn -q -DskipTests install --batch-mode
test_script:
- cd runtime-testsuite
- mvn -q -Dtest=python3.* test -Dantlr-python3-python="C:\Python35\python.exe"
- mvn -q -Dtest=python3.** test -Dantlr-python3-python="C:\Python35\python.exe"
14 changes: 10 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ version: 2.1
jobs:
test_tool_and_runtime_java:
docker:
- image: cimg/openjdk:8.0
- image: cimg/openjdk:11.0.13
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend waiting for the merging of that request #3407 There are some troubles with JDK updating.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost ready.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like we are going to be only java 8 for this next release because there's no way to use java 11 and generate java 8 class files apparently, at least reliably.

environment:
MAVEN_OPTS: -Xmx512m
resource_class: large
steps:
- checkout
- run:
Expand All @@ -13,13 +16,13 @@ jobs:
name: test runtime
command: |
cd runtime-testsuite
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=java.* test
mvn -q -Dtest=java.** test
cd ..
- run:
name: test tool
command: |
cd tool-testsuite
mvn -q -Dparallel=methods -DthreadCount=4 test
mvn -q test
cd ..
test_runtime:
parameters:
Expand All @@ -32,7 +35,10 @@ jobs:
type: string
default: java
docker:
- image: cimg/openjdk:8.0
- image: cimg/openjdk:11.0.13
environment:
MAVEN_OPTS: -Xmx512m
resource_class: large
environment:
TARGET: << parameters.target >>
GROUP: << parameters.test-group >>
Expand Down
12 changes: 8 additions & 4 deletions .circleci/scripts/run-tests-cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@

set -euo pipefail

pushd runtime/Cpp
ctest
popd

pushd runtime-testsuite
echo "running maven tests..."
if [ $GROUP == "LEXER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=cpp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=cpp.** test
elif [ $GROUP == "PARSER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=cpp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=cpp.** test
elif [ $GROUP == "RECURSION" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=cpp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=cpp.** test
else
mvn -q -Dtest=cpp.* test
mvn -q -Dtest=cpp.** test
fi
popd

4 changes: 2 additions & 2 deletions .circleci/scripts/run-tests-dart.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ dart --version

pushd runtime-testsuite
echo "running maven tests..."
# mvn -q -Dparallel=classes -DthreadCount=4 -Dtest=dart.* test
mvn -q -Dtest=dart.* test
# mvn -q -Dparallel=classes -DthreadCount=4 -Dtest=dart.** test
mvn -q -Dtest=dart.** test
popd
8 changes: 4 additions & 4 deletions .circleci/scripts/run-tests-dotnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ set -euo pipefail
pushd runtime-testsuite/
echo "running maven tests..."
if [ $GROUP == "LEXER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=csharp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=csharp.** test
elif [ $GROUP == "PARSER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=csharp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=csharp.** test
elif [ $GROUP == "RECURSION" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=csharp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=csharp.** test
else
mvn -q -Dtest=csharp.* test
mvn -q -Dtest=csharp.** test
fi
popd
4 changes: 2 additions & 2 deletions .circleci/scripts/run-tests-go.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ go version

pushd runtime-testsuite
echo "running maven tests..."
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=go.* test
popd
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=go.** test
popd
4 changes: 2 additions & 2 deletions .circleci/scripts/run-tests-javascript.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ popd
pushd runtime-testsuite

echo "running maven tests..."
mvn -q -Dtest=javascript.* test
mvn -q -Dtest=javascript.** test
RESULT+=$?

popd

exit $RESULT
exit $RESULT
2 changes: 1 addition & 1 deletion .circleci/scripts/run-tests-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ php -v
php_path=$(which php)
pushd runtime-testsuite
echo "running maven tests..."
mvn -q -DPHP_PATH="${php_path}" -Dparallel=methods -DthreadCount=4 -Dtest=php.* test
mvn -q -DPHP_PATH="${php_path}" -Dparallel=methods -DthreadCount=4 -Dtest=php.** test
popd
4 changes: 2 additions & 2 deletions .circleci/scripts/run-tests-python2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ popd
if [ $rc == 0 ]; then
pushd runtime-testsuite
echo "running maven tests..."
mvn -q -Dtest=python2.* test
mvn -q -Dtest=python2.** test
rc=$?
popd
fi

# return $rc
# return $rc
4 changes: 2 additions & 2 deletions .circleci/scripts/run-tests-python3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ popd
if [ $rc == 0 ]; then
pushd runtime-testsuite
echo "running maven tests..."
mvn -q -Dtest=python3.* test
mvn -q -Dtest=python3.** test
rc=$?
popd
fi

# return $rc
# return $rc
8 changes: 4 additions & 4 deletions .circleci/scripts/run-tests-swift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ if [ $rc == 0 ]; then
pushd runtime-testsuite
echo "running maven tests..."
if [ $GROUP == "LEXER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=swift.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=swift.** test
elif [ $GROUP == "PARSER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=swift.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=swift.** test
elif [ $GROUP == "RECURSION" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=swift.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=swift.** test
else
mvn -q -Dtest=swift.* test
mvn -q -Dtest=swift.** test
fi
popd
fi
20 changes: 20 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
# This section defines defaults for all languages. Currently we derive ANTLR style from LLVM.
BasedOnStyle: LLVM
# Only use clang-format for C++ for now.
DisableFormat: true

---
# This section configures C++ formatting.
Language: Cpp
DisableFormat: false
Standard: c++17
# Prevent clang-format from attempting to pick the alignment and always use right alignment.
DerivePointerAlignment: false
# ANTLR existing style is to right align pointers and references.
PointerAlignment: Right
ReferenceAlignment: Right
# Some of ANTLR existing code is longer than the default 80, so use 100 for now.
ColumnLimit: 100
# Historically ANTLR has used indentation within namespaces, so replicate it.
NamespaceIndentation: Inner
14 changes: 9 additions & 5 deletions .github/scripts/run-tests-cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@

set -euo pipefail

cd runtime-testsuite/
pushd runtime/Cpp
ctest
popd

pushd runtime-testsuite
if [ $GROUP == "LEXER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=cpp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=cpp.** test
elif [ $GROUP == "PARSER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=cpp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=cpp.** test
elif [ $GROUP == "RECURSION" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=cpp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=cpp.** test
else
mvn -q -Dtest=cpp.* test
mvn -q -Dtest=cpp.* test
fi
popd
8 changes: 4 additions & 4 deletions .github/scripts/run-tests-dotnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ dotnet build -c Release -f netstandard2.0 runtime/CSharp/Antlr4.csproj
cd runtime-testsuite/

if [ $GROUP == "LEXER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=csharp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=csharp.** test
elif [ $GROUP == "PARSER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=csharp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=csharp.** test
elif [ $GROUP == "RECURSION" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=csharp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=csharp.** test
else
mvn -q -Dtest=csharp.* test
mvn -q -Dtest=csharp.** test
fi
8 changes: 4 additions & 4 deletions .github/scripts/run-tests-swift.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ if [ $rc == 0 ]; then
# run java tests
cd runtime-testsuite/
if [ $GROUP == "LEXER" ]; then
mvn -e -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest="swift.*" test
mvn -e -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest="swift.**" test
elif [ $GROUP == "PARSER" ]; then
mvn -e -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest="swift.*" test
mvn -e -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest="swift.**" test
elif [ $GROUP == "RECURSION" ]; then
mvn -e -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest="swift.*" test
mvn -e -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest="swift.**" test
else
mvn -e -q -Dtest=swift.* test
mvn -e -q -Dtest=swift.** test
fi
rc=$?
cat target/surefire-reports/*.dumpstream || true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macosx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Set up Maven
uses: stCarolas/setup-maven@v4
with:
maven-version: 3.5.4
maven-version: 3.8.4
- name: Build tool with Maven
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V
- name: Test with Maven
Expand Down
15 changes: 10 additions & 5 deletions .travis/run-tests-cpp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,18 @@

set -euo pipefail

pushd runtime/Cpp
ctest
popd

pushd runtime-testsuite
if [ $GROUP == "LEXER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=cpp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LexerTests" -Dtest=cpp.* test
elif [ $GROUP == "PARSER" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=cpp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.ParserTests" -Dtest=cpp.* test
elif [ $GROUP == "RECURSION" ]; then
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=cpp.* test
mvn -q -Dgroups="org.antlr.v4.test.runtime.category.LeftRecursionTests" -Dtest=cpp.* test
else
mvn -q -Dtest=cpp.* test
mvn -q -Dtest=cpp.* test
fi

popd
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

**ANTLR** (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build parse trees and also generates a listener interface (or visitor) that makes it easy to respond to the recognition of phrases of interest.

*Given day-job constraints, my time working on this project is limited so I'll have to focus first on fixing bugs rather than changing/improving the feature set. Likely I'll do it in bursts every few months. Please do not be offended if your bug or pull request does not yield a response! --parrt*

[![Donate](https://www.paypal.com/en_US/i/btn/x-click-butcc-donate.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BF92STRXT8F8Q)

## Authors and major contributors
Expand Down
Loading