Update test/Makefile.am to use the new compiler command-line format.
authorDavid Reiss <dreiss@apache.org>
Wed, 27 Feb 2008 07:45:00 +0000 (07:45 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 27 Feb 2008 07:45:00 +0000 (07:45 +0000)
Tested by running make check.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665519 13f79535-47bb-0310-9956-ffa450edef68

test/Makefile.am
test/java/build.xml

index f4dd05c..118d869 100644 (file)
@@ -66,13 +66,13 @@ ReflectionTest_LDADD = \
 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 = \
index 52b0033..9d7fb06 100644 (file)
@@ -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>