antlr/.travis
Ken Domino 4b649103f3
Restructure C# runtime and fix Issue #2693 (#3057)
* Fixes for https://github.com/antlr/antlr4/issues/2693

* Adding script for comparing Java and C# profile output.

* Update lexer grammar.

Tightening up the grammar rules. Still Java9.

* Tighten up grammar.

* Adding in new base classes for C# runtime tests for profiling.

* Complete test for Profile = true.

Update ProfileDescriptor to now parse and output profile. The grammar is asm8080 from grammars-v4, tightened up. The input is the example provided there, truncated to included fewer lines as that causes a null-ptr crash with the older runtime. I verified by modifying the .csproj in /tmp.

* Restructuring the Antlr C# runtime so that it is consistent with all other runtimes, a source directory (now antlr4/runtime/CSharp/src), and a test directory (antlr4/runtime/CSharp). In the test area, I added a test for profiling in issue-2593. This test requires the Antlr tool and Antlr C# tool to be build. The path is assumed in a relative path to the test, ../../../../tool/target/antlr4-*-SNAPSHOT-complete.jar, with globbing performed. The test simply checks the return result, output not important. There are no changes to the runtime C# source files other than placing them under src/. Several other build files were changed to reflect the new location of the Antlr C# runtime. I updated the instructions for users on how to build the runtime, including information on checking the environment--now explicitly specified here so people know what to install!
2021-02-02 09:51:41 +08:00
..
before-install-linux-dart.sh fix dart sdk url 2020-08-19 13:31:32 +10:00
before-install-linux-dotnet.sh Fix CI scripts; use dotnet everywhere for testing; remove before-install-linux-csharp.sh, run-tests-csharp.sh 2020-12-28 16:17:00 +03:00
before-install-linux-go.sh Remove unnecessary Travis files. 2019-07-14 16:03:13 -07:00
before-install-linux-javascript.sh more feedback 2020-10-04 10:09:24 +08:00
before-install-linux-php.sh add clone for php to travis script 2021-01-03 13:18:27 -08:00
before-install-linux-swift.sh Switch the Linux Swift tests to Trusty and Swift 4.0. 2017-10-20 10:12:47 -07:00
before-install-osx-dotnet.sh Fix CI scripts; use dotnet everywhere for testing; remove before-install-linux-csharp.sh, run-tests-csharp.sh 2020-12-28 16:17:00 +03:00
run-tests-cpp.sh Make all the Travis test scripts exit in the event of error. 2018-11-15 15:33:10 -08:00
run-tests-dart.sh add dart target 2020-01-19 18:22:06 +11:00
run-tests-dotnet.sh Restructure C# runtime and fix Issue #2693 (#3057) 2021-02-02 09:51:41 +08:00
run-tests-go.sh Make all the Travis test scripts exit in the event of error. 2018-11-15 15:33:10 -08:00
run-tests-java.sh Make all the Travis test scripts exit in the event of error. 2018-11-15 15:33:10 -08:00
run-tests-javascript.sh run npm install and link once before tests 2020-10-04 11:23:54 +08:00
run-tests-php.sh PHP Target 2019-09-14 09:39:58 -03:00
run-tests-python2.sh Remove unnecessary Travis files. 2019-07-14 16:03:13 -07:00
run-tests-python3.sh Remove unnecessary Travis files. 2019-07-14 16:03:13 -07:00
run-tests-swift.sh [Swift] Migrate Swift runtime to Swift 5. 2019-11-18 13:24:28 -08:00