Update test/Makefile.am to use the new compiler command-line format.
Tested by running make check.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665519 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/Makefile.am b/test/Makefile.am
index f4dd05c..118d869 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -66,13 +66,13 @@
THRIFT = $(top_srcdir)/compiler/cpp/thrift
gen-cpp/DebugProtoTest_types.cpp gen-cpp/PartiallyReflectable.cpp: DebugProtoTest.thrift
- $(THRIFT) -cpp $<
+ $(THRIFT) --gen cpp $<
gen-cpp/OptionalRequiredTest_types.cpp: OptionalRequiredTest.thrift
- $(THRIFT) -cpp $<
+ $(THRIFT) --gen cpp $<
gen-cpp/Service.cpp gen-cpp/StressTest_types.cpp: StressTest.thrift
- $(THRIFT) -cpp $<
+ $(THRIFT) --gen cpp $<
INCLUDES = \
diff --git a/test/java/build.xml b/test/java/build.xml
index 52b0033..9d7fb06 100644
--- a/test/java/build.xml
+++ b/test/java/build.xml
@@ -14,7 +14,7 @@
<target name="generate">
<exec executable="../../compiler/cpp/thrift">
- <arg line="--java ../ThriftTest.thrift" />
+ <arg line="--gen java ../ThriftTest.thrift" />
</exec>
</target>