diff options
author | Chris Fallin <cfallin@google.com> | 2015-01-14 15:44:46 -0800 |
---|---|---|
committer | Chris Fallin <cfallin@google.com> | 2015-01-14 15:44:46 -0800 |
commit | 3f3820d8f8b5c0b67aadc25ad5a2e728b6a3fe79 (patch) | |
tree | 53afc636c0dfe600a05bc65531023886436b1af3 /src/Makefile.am | |
parent | 7c4bbf07a5eee1fd4f5c2d60be32b95c35b0ed1d (diff) | |
download | protobuf-3f3820d8f8b5c0b67aadc25ad5a2e728b6a3fe79.tar.gz protobuf-3f3820d8f8b5c0b67aadc25ad5a2e728b6a3fe79.tar.bz2 protobuf-3f3820d8f8b5c0b67aadc25ad5a2e728b6a3fe79.zip |
Two tests for Ruby code generator:
- A golden-file test that ensures protoc produces known-valid output.
- A Ruby test that loads that golden file and ensures it actually works
with the extension.
This split strategy allows us to test end-to-end without needing to
integrate the Ruby gem build system and the protoc build system. This is
desirable because we do not want a gem build/install to depend on
building protoc, and we do not want building protoc to depend on
building and testing the gem.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 3a469fd7..6fd8bd2b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -458,6 +458,7 @@ protobuf_test_SOURCES = \ google/protobuf/compiler/java/java_plugin_unittest.cc \ google/protobuf/compiler/java/java_doc_comment_unittest.cc \ google/protobuf/compiler/python/python_plugin_unittest.cc \ + google/protobuf/compiler/ruby/ruby_generator_unittest.cc \ $(COMMON_TEST_SOURCES) nodist_protobuf_test_SOURCES = $(protoc_outputs) |