Commit Graph

5317 Commits

Author SHA1 Message Date
parrt a7ecf0332f rename the SingleTest class and and Java doc. make errors="" actually set to null to be more clear. 2016-11-15 13:42:57 -08:00
parrt ccad5bd9bc merge in new runtime test mechanism 2016-11-15 11:19:55 -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
Terence Parr 253cd172a4 Merge pull request #1351 from DanMcLaughlin/master
Fixes to make the C++ target run on Travis
2016-11-15 02:22:41 +01:00
parrt ef29c1db71 travis updated to use jdk7 not 6 2016-11-14 12:36:32 -08:00
parrt ea7a61c483 Fixes #1327, Fixes #1352 2016-11-14 11:02:04 -08:00
Mike Lischke 8450599e75 Enable tests for all targets. 2016-11-12 22:40:11 +01:00
Mike Lischke 74d094bee7 Merge branch 'master_upstream' 2016-11-10 20:35:10 +01:00
Mike Lischke bed38c6b08 Cleaning up for production use. Tests succeed now.
Also re-enabled all tests, so we can merge upstream.
2016-11-10 11:40:22 +01:00
Mike Lischke e6703267d9 Don't let compiler warnings make the tests fail.
Added debug print for better error recognition.
2016-11-10 11:13:20 +01:00
Mike Lischke da57be191a Avoid warnings when building on Linux. 2016-11-10 10:28:13 +01:00
Mike Lischke 0a6717596f Preload the antlr runtime for tests on Linux (e.g. Travis). 2016-11-10 10:08:03 +01:00
Mike Lischke 90b3698157 Simplified running commands on command line from Java. 2016-11-09 17:51:43 +01:00
Mike Lischke d3d5126774 Need the test folder content. 2016-11-09 16:22:03 +01:00
Mike Lischke dec5aae9ec Bring back the sym-linked lib but use the correct one. 2016-11-09 16:01:51 +01:00
Mike Lischke 510a895a08 Need to see the lib folder. 2016-11-09 15:13:01 +01:00
Mike Lischke ea17830f32 Link failed with sym-linked library in local dir, so link directly. 2016-11-09 14:40:22 +01:00
Mike Lischke 2593b1a20d Trying to find linker error. 2016-11-09 14:04:22 +01:00
Mike Lischke 0da507aa1d Let's try clang++. 2016-11-09 13:29:28 +01:00
Mike Lischke 490604b102 Focus on a single compiler to ease debugging. 2016-11-09 13:17:44 +01:00
Mike Lischke 57f2a157ee Search explicitly for clang-3.6++
When installing a different clang version in Travis the original clang++ binary is no longer available.
2016-11-09 11:54:45 +01:00
Mike Lischke 6535df81c8 sudo is required 2016-11-09 11:32:22 +01:00
Mike Lischke ca9ee65da9 Enabled docker builds in Travis + require a more modern clang compiler. 2016-11-09 11:29:32 +01:00
Mike Lischke b9307b548f g++5 couldn't be found, so try clang++ instead. 2016-11-09 11:04:28 +01:00
Mike Lischke dbaf5189bc We need g++5 for C++11 with codecvt. 2016-11-09 10:54:00 +01:00
Mike Lischke 5d783bf82e Missed to catch exceptions for compiler version print. 2016-11-09 10:42:48 +01:00
Mike Lischke 5bcbea82e3 Log compiler path and version for debugging. 2016-11-09 10:02:42 +01:00
Mike Lischke e62c267f7c Add a bit more logging so we can see what worked and what didn't. 2016-11-08 17:38:09 +01:00
Mike Lischke 2254369bb7 Continuing effort to get Travis happy finally. 2016-11-08 17:14:21 +01:00
parrt 7f16fe6201 alter test so it works with all targets 2016-11-07 15:02:57 -08:00
parrt da342af01e added sync() per other targets to LL(1) decisions 2016-11-07 14:48:20 -08:00
parrt 19e7e9ee5a Merge branch 'master' of github.com:antlr/antlr4 2016-11-07 14:25:57 -08:00
Terence Parr 29fa9ba36e Merge pull request #1344 from pboyer/patch-4
Update Go documentation
2016-11-07 23:25:50 +01:00
parrt b8ac1ebb3b unignore 2 tests for Go 2016-11-07 14:24:46 -08:00
Terence Parr f29a7940d8 Merge pull request #1345 from pboyer/intervalSetBug
Fix bug in IntervalSet
2016-11-07 23:19:22 +01:00
Terence Parr 8fc8b6e56c Merge pull request #1346 from parrt/merge-cpp
Merge cpp
2016-11-07 23:16:20 +01:00
parrt 061177fab0 tweak doc 2016-11-07 14:15:15 -08:00
parrt 5fc57fb0b2 Go needs to mimic other tests; regenerated. 2016-11-07 14:09:31 -08:00
parrt 01e3ffa7e5 optimize imports. 2016-11-07 14:01:10 -08:00
Peter Boyer 9bb49842ef cleanup 2016-11-07 16:27:39 -05:00
Peter Boyer aace3de380 Fix bug in interval set 2016-11-07 16:23:10 -05:00
parrt b366a8405c fix some issues with tests after merge 2016-11-07 13:20:16 -08:00
parrt 3ee3093f88 fix some issues with tests after merge 2016-11-07 13:06:16 -08:00
parrt f8bec27d6d bring Go target templates up to same args as others. 2016-11-07 11:07:46 -08:00
parrt 3d0678508b reuse code to builld named actions. all file model objects have it now. 2016-11-07 11:07:23 -08:00
parrt 51d38110be trying a refactoring to test if i can push back 2016-11-07 10:55:48 -08:00
Peter Boyer 893ecf981b Update Go documentation 2016-11-07 12:11:24 -05:00
Mike Lischke 1c3a5879e6 Set required runtime version to 4.6. 2016-11-07 11:22:46 +01:00
Mike Lischke 92b032820e Merge branch 'master_upstream' 2016-11-07 11:19:12 +01: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