Re: How do I test code-generation?

2016-11-03 Thread Allen George
Thanks! - took me a bit of time because it'd been a while since I used any of the auto* tools, but I got it to work. If anyone's reading this in the future, I had to modify (at minimum): configure.ac lib/Makefile.am test/Makefile.am plus the Makefile.am files in my language subdir (in both lib

Re: How do I test code-generation?

2016-10-30 Thread Randy Abernethy
The Thrift test suit comes with a cross test that runs languages through a complex set of idl tests, with themselves (client to server) and with other languages. Take a look at make cross. On Monday, October 31, 2016, Allen George wrote: > Hi, > > I've just started

How do I test code-generation?

2016-10-30 Thread Allen George
Hi, I've just started writing a language binding, and I don't know how I'd go about testing that my autogen'd files look right. Is there an automated test hook for this? Or do I have to make the binary and test it out manually? (On that note, seems like configure ignores --prefix and installs