Commit Graph

105 Commits

Author SHA1 Message Date
hanjoes e0b326677b Migrating the current Swift tests to the new testing framework. 2016-11-19 18:30:48 -08:00
Ewan Mellor c024166dfa Fix path to Swift test files. 2016-11-19 18:30:48 -08:00
Ewan Mellor b52e8e46b2 Skip Swift tests on non-Mac platforms #1339
Swift tests depend on Xcode (via xcrun) so only run them on Macs.

This also bumps the maven-surefire-plugin version to 2.19.1, because
2.12.4 crashes when it sees an empty <include> block.
2016-11-19 18:30:48 -08:00
Ewan Mellor 6d5d1f1c23 Add build system changes needed for Swift backend. 2016-11-19 18:30:48 -08:00
parrt 08e9776a4a shift template-based runtime test to legacy, new mechanism uses annotation to get multi-line strings into java. all tests pass minus about 15 in C# 2016-11-15 11:08:19 -08:00
Mike Lischke 3b3fe3da57 Merge branch 'master_upstream'
Had to resolve a number of conflicts + added code required for the C++ target to generate header files, after the recent changes in the main repo.
2016-11-07 11:16:02 +01:00
parrt 95c850e5f8 set version in prep for 4.6 2016-11-05 16:48:36 -07:00
Mike Lischke 5e9211b093 Re-enabled all tests again. 2016-11-05 16:35:34 +01:00
Peter Boyer 2444386091 Remove JavaScript PORT_DEBUG, re-enable runtime tests for other language targets (#69)
* Re-enable runtime tests for other language targets

* Fix typo in js code

* Remove PORT_DEBUG statements

* Fix missing

* Fix testAltNum
2016-10-13 17:06:22 -04:00
Peter Boyer 42347c078b Fix merge failure 2016-10-12 09:53:43 -04:00
Mike Lischke a7b9499230 Code generation + Travis CI fixes.
- Had to adjust a comparison <= 0 to the new unsigned EOF.
- For testing: extended the runtime tests to all C++ tests.
- Install uuid-dev in Travis CI in order to be able to build the C++ runtime.
2016-10-03 11:25:02 +02:00
Mike Lischke 8280beb564 Refactoring of further int values, mostly converting them to size_t.
- Switched most symbolic signed constants to unsigned variants. Redefined EOF in particular to become (size)-1, to avoid having to use signed token type values.
- Introduced INVALID_INDEX for all previous -1 values to indicate e.g. not found indexes etc.
- Added 2 helpers to convert between symbolic and numeric form (mostly for intervals and toString()).
- Removed many no longer needed type casts to size_t.
- Updated templates for these changes.
- Limited runtime tests to C++ tests only, to see how Travis CI copes with that.
2016-10-02 16:51:57 +02:00
Mike Lischke 4a8010b4eb Revert "A few more places that no longer pass a shared_ptr around."
This reverts commit 728af59528.
2016-06-15 13:30:37 +02:00
Mike Lischke 728af59528 A few more places that no longer pass a shared_ptr around. 2016-06-14 15:17:23 +02:00
David Sisson cbe9c2f1f7 Returned other tests to active duty. 2016-05-06 20:19:48 -07:00
David Sisson b976a4942d fix which tests to run for cpp 2016-05-06 19:48:57 -07:00
David Sisson f018236ad7 Added minimum set of files. 2016-05-05 21:56:13 -07:00
parrt b92f22769e [maven-release-plugin] prepare for next development iteration 2016-03-30 16:25:49 -07:00
parrt 567fcc6311 [maven-release-plugin] prepare release antlr4-master-4.5.3 2016-03-30 16:25:45 -07:00
parrt 08f3ad798e [maven-release-plugin] prepare for next development iteration 2016-01-29 15:29:01 -08:00
parrt c5a296596d [maven-release-plugin] prepare release 4.5.2 2016-01-29 15:28:57 -08:00
parrt fa6f674e33 [maven-release-plugin] rollback the release of 4.5.2 2016-01-29 15:27:40 -08:00
parrt 009f3cac3a [maven-release-plugin] prepare release 4.5.2 2016-01-29 15:27:19 -08:00
parrt 6b31ceaa9d [maven-release-plugin] rollback the release of 4.5.2 2016-01-29 15:26:02 -08:00
parrt 6b3f9816cb [maven-release-plugin] prepare for next development iteration 2016-01-29 14:13:15 -08:00
parrt b446c50722 [maven-release-plugin] prepare release 4.5.2 2016-01-29 14:13:11 -08:00
Peter Boyer 857600be43 Numerous test fixes 2016-01-08 09:28:38 -05:00
Peter Boyer 960c59e373 Fix more issues in code generation 2016-01-05 12:16:35 -05:00
Peter Boyer f2852686a7 Some of the runtime-testsuite tests now pass 2016-01-04 14:57:47 -05:00
Eric Vergnaud 5c101e750e re-enable full csharp test suite 2015-09-19 02:43:28 +08:00
Eric Vergnaud 7beb07bfc3 SUCCESS!!!! All ANTLR targets successfully build and pass tests on travis-ci! 2015-09-19 02:42:20 +08:00
Eric Vergnaud 6d859a5168 Get compile error for failing test 2015-09-19 00:51:37 +08:00
Eric Vergnaud 8bf760a437 now try mono 2015-09-19 00:02:47 +08:00
Eric Vergnaud cbd3fad083 fix maven warnings 2015-09-18 23:39:39 +08:00
Eric Vergnaud 68cdaea368 now trying mono! 2015-09-18 23:29:52 +08:00
Eric Vergnaud 6e9680f9cf trying to get python3 tests to run on travis-ci 2015-09-18 02:09:52 +08:00
Eric Vergnaud f7a9a73d64 fix test generation parameters, enable non-java targets 2015-09-17 02:51:10 +08:00
Eric Vergnaud bf00f6b57e Switch to selenium v46 2015-09-03 23:17:37 +08:00
parrt c07aa4ede1 [maven-release-plugin] prepare for next development iteration 2015-08-20 12:11:58 -07:00
parrt 3611fde621 [maven-release-plugin] prepare release 4.5.1-1 2015-08-20 12:11:55 -07:00
parrt 3d181af904 [maven-release-plugin] prepare for next development iteration 2015-07-15 14:45:48 -07:00
parrt 79dae1e6f6 [maven-release-plugin] prepare release 4.5.1 2015-07-15 14:45:45 -07:00
Jason van Zyl 398f7fcf53 Run all Java target tests by default
And we will use the "tests" profile to initiate the tests for the rest of the targets.
2015-06-29 22:03:16 -04:00
Jason van Zyl f48aa50a61 Add a command and README.md for the generation of the runtime test harness.
The workflow we want to support is for an Antlr dev to tweak the harness, examine the output
and when it's desirable checkin the results. This is an offline process done by a dev.
2015-06-29 18:09:39 -07:00
Jason van Zyl ee4bb93449 Enable the generation of the runtime tests
Note: I had to tweak generator not to assume a particular directory structure. I will
revisit this but the whole maven build is working.
2015-06-29 18:09:39 -07:00
Jason van Zyl a13352d8e7 Make javascript test sources compile. Jetty and Selenium required. 2015-06-29 18:09:39 -07:00
Jason van Zyl fd13f137f2 All projects are now building and tests passing from Maven 2015-06-29 18:09:39 -07:00
Terence Parr e921ba69c8 tweak java version 2015-06-29 18:09:38 -07:00
parrt b05e3ccdb8 messing with poms to get test generation in there. it doesn't seem to compiled and properly though. mvn compile works but mvn install doesn't finished compiling generated tests. 2015-06-29 18:09:38 -07:00
Sam Harwell eeb158d9ec rm circular dependency; update a comment 2015-06-29 18:09:38 -07:00
Terence Parr dec5d26a3d tweak pom so it compiles in `compile` phase and `install` phase but doesn't run tests correctly. 2015-06-29 18:09:37 -07:00
Jason van Zyl 46202d98a2 Integrating tests for all supported targets
- A profile "rts" has been created which runs the integration tests. By default the the project containing the runtimes tests will not run so that users casually checking out and building the project do not have to install the tools required to test all the supported Antlr targets.

- The base test classes that are required for running the integration tests are downloaded from the other Antlr repos, dynamically added to the compile classpath and used by the currently checked in integration tests

To run the the full build with all the integration tests use the following:

mvn clean install -Prts
2015-06-24 13:45:40 -04:00
Terence Parr 317ce86583 add dependency on tool for tests 2015-06-22 17:19:54 -07:00
Jason van Zyl 8beec18283 Add Maven build
Account for the following:
- deploying snapshots to OSSRH
- releasing to Maven Central
- Shaded JAR including the treelayout dependency
- OSGi manifest
- remove Eclipse IDE metadata for clean import
- remove IDEA IDE metadata for clean import
2015-06-19 11:13:24 -07:00
Sam Harwell e355fc44e2 Extracted code generation portion of test suite generator to a separate artifact 2015-06-01 16:20:32 -05:00