Commit Graph

4569 Commits

Author SHA1 Message Date
Terence Parr 53678867ca rm a few local test files 2015-06-30 15:04:20 -07:00
Terence Parr 050cdd1511 Merge pull request #946 from parrt/master
pull in antlr4-python2 history for runtime files.
2015-06-30 14:28:24 -07:00
Terence Parr c2dfb7f457 rm a few local test files 2015-06-30 14:27:12 -07:00
Terence Parr 7114dcd3ae Merge branch 'fold-into-master' of github.com:antlr/antlr4-python3 2015-06-30 14:26:37 -07:00
Terence Parr d81fa33128 mv files into proper position for folding into main antlr4 repo; delete already moved stuff 2015-06-30 14:25:12 -07:00
Terence Parr 40ef11a77c Merge branch 'fold-into-master' of github.com:antlr/antlr4-python2 2015-06-30 14:15:44 -07:00
Terence Parr fe207fb3ee mv files into proper position for folding into main antlr4 repo; delete already moved stuff 2015-06-30 14:13:56 -07:00
Terence Parr 8df10b2085 Merge pull request #944 from parrt/master
pull in antlr4-javascript history for runtime files.
2015-06-30 11:34:00 -07:00
Terence Parr 6bd039e585 fold in history from javascript repo 2015-06-30 11:28:57 -07:00
Terence Parr c0aa3b36ca get .project into position 2015-06-30 11:26:45 -07:00
Terence Parr d5fb13ac50 rm non target language runtime files as we have them folded already into main antlr4 repo (no history) 2015-06-30 11:18:38 -07:00
Terence Parr dac66a6fab mv files into proper position for folding into main antlr4 repo 2015-06-30 11:18:25 -07:00
Terence Parr 147a4b3ae3 Merge pull request #943 from parrt/master
pull in antlr4-csharp history for runtime files.
2015-06-30 11:03:52 -07:00
Terence Parr 76d5f7b5f7 Merge branch 'fold-into-master' of github.com:antlr/antlr4-csharp
Conflicts:
	.gitignore
	runtime/CSharp/runtime/CSharp/Antlr4.mono.sln
2015-06-30 10:58:57 -07:00
Terence Parr 631a6ae516 rm non target language runtime files as we have them folded already into main antlr4 repo (no history) 2015-06-30 10:54:25 -07:00
Terence Parr 738d5b2514 mv files into proper position for folding into main antlr4 repo 2015-06-30 10:52:50 -07:00
Terence Parr 1e6b4efb5f Merge pull request #942 from parrt/fold-in-target-repos-experimental
Fold target repos into master (w/o histories I'm afraid)
2015-06-30 09:17:03 -07:00
Jason van Zyl a142a5bc62 Create shaded tool JAR
Which contains:
 - Antlr runtime classes
 - String template classes
 - Tree layout classes
2015-06-30 12:07:36 -04: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
parrt c129166e69 we are calling the test generator directly because Jason said that was much easier than a plug-in that used during the build itself; simplifying to remove that plug-in. 2015-06-29 18:32:51 -07:00
parrt 661a565448 rename rts to tests to make it more understandable 2015-06-29 18:26:44 -07:00
Jason van Zyl 9de674a6fd Correct name of runtime suite directory 2015-06-29 21:23:55 -04:00
Jason van Zyl 5d45e15601 Place the runtime and tool test suites in a separate profile 2015-06-29 21:22:14 -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
parrt 1accfe15d3 rm test build stuff 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 d0c3694e71 yet more playing with python build 2015-06-29 18:09:39 -07:00
Terence Parr 7d8078cfc2 comment out a class-based testbild thingie 2015-06-29 18:09:39 -07:00
Terence Parr 9fa4b0333f add iml file 2015-06-29 18:09:38 -07:00
Terence Parr d4e703a412 figured out classpath issue 2015-06-29 18:09:38 -07:00
Terence Parr 681e6c3ed0 a test bild script that works on all but a few tool tests. 2015-06-29 18:09:38 -07:00
Terence Parr 8c255b9a12 trying to get tests to run 2015-06-29 18:09:38 -07:00
Terence Parr e921ba69c8 tweak java version 2015-06-29 18:09:38 -07:00
Sam Harwell f98a0a7dfd Fix copyright notices for maven plugins 2015-06-29 18:09:38 -07:00
parrt f5b48efd46 manual cherrypick of Sam's d74781d2fe 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 f71e225cf2 Fix Travis configuration so the build passes
* The build failed because the `cd antlr4` step failed.
* The `mvn install` operation runs tests, so remove the duplicate `mvn test` step.
2015-06-29 18:09:38 -07:00
Sam Harwell 47c234af64 Improve m2e integration for the test generator 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
Sam Harwell 157749e825 Generate tests during the build
This commit enables the runtime test generator during the Maven build,
process which means the Java runtime receives the same comprehensive
testing during a Maven build as it does during a build with bild.py.
2015-06-29 18:09:38 -07:00
Sam Harwell 9247334a07 Update getTargetNameFromTemplatesFileName() to also work on Windows systems 2015-06-29 18:09:38 -07:00
parrt 5494e7c73e IDE .ipr knows how to build complete jar artifact. 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
Terence Parr f4709f2973 tweak pom to give version of maven-jar-plugin so it doesn't fail. success reported for "maven test" but no tests run. ;) 2015-06-29 18:09:37 -07:00
Terence Parr 5d2d75d2e3 looks like i had python2 and 3 swapped. java, python3, c# pass. python2, js each have same single test failing: testCharSetWithQuote1 2015-06-29 18:09:37 -07:00
Terence Parr 99ad09ece1 ok, somehow python2 runtime got overwritten with weird stuff. it passes tests again now with fresh copy. 2015-06-29 18:09:37 -07:00
Terence Parr 9203dd193e add gen3/4 for now to avoid bootstrap issue 2015-06-29 18:09:37 -07:00
parrt b3133abb21 gitignore was dropping all my target generators. ugh. 2015-06-29 18:09:37 -07:00