avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mas...@apache.org
Subject svn commit: r834708 - in /hadoop/avro/trunk: CHANGES.txt build.xml src/c/Makefile.am
Date Tue, 10 Nov 2009 23:31:34 GMT
Author: massie
Date: Tue Nov 10 23:31:34 2009
New Revision: 834708

URL: http://svn.apache.org/viewvc?rev=834708&view=rev
Log:
AVRO-189. test-c target fails

Modified:
    hadoop/avro/trunk/CHANGES.txt
    hadoop/avro/trunk/build.xml
    hadoop/avro/trunk/src/c/Makefile.am

Modified: hadoop/avro/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/CHANGES.txt?rev=834708&r1=834707&r2=834708&view=diff
==============================================================================
--- hadoop/avro/trunk/CHANGES.txt (original)
+++ hadoop/avro/trunk/CHANGES.txt Tue Nov 10 23:31:34 2009
@@ -73,6 +73,8 @@
 
     AVRO-169.  Fix a typo in the spec. (Jeff Hammerbacher via cutting)
 
+    AVRO-189. test-c target fails (massie)
+
 Avro 1.2.0 (14 October 2009)
 
   INCOMPATIBLE CHANGES

Modified: hadoop/avro/trunk/build.xml
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/build.xml?rev=834708&r1=834707&r2=834708&view=diff
==============================================================================
--- hadoop/avro/trunk/build.xml (original)
+++ hadoop/avro/trunk/build.xml Tue Nov 10 23:31:34 2009
@@ -367,7 +367,7 @@
     </py-test>
   </target>
 
-  <target name="test-interop" depends="test-interop-java,test-interop-py"
+  <target name="test-interop" depends="test-interop-java,test-interop-py,test-interop-c"
    description="Run multiple languages interoperability tests">
   </target>
 
@@ -381,6 +381,11 @@
    description="Run python interoperability tests">
   </target>
 
+  <target name="test-interop-c"
+    depends="test-interop-data-c"
+   description="Run C interoperability tests">
+  </target>
+
   <target name="test-interop-data-java" depends="generate-test-data"
     description="Run java data file interoperability tests">
     <test-runner files.location="${test.java.classes}" tests.pattern="**/TestDataFile$InteropTest.class"
/>
@@ -657,6 +662,16 @@
     </exec>
   </target>
 
+  <target name="test-interop-data-c" depends="generate-test-data,configure-c"
+    description="Run C data file interoperability tests">
+    <exec dir="${c.build.dir}" executable="make" failonerror="true">
+       <arg value="test_avro_interop"/>
+    </exec>
+    <exec dir="${c.build.dir}" executable="./test_avro_interop" failonerror="true">
+       <env key="srcdir" value="${c.src.dir}" />
+    </exec>
+  </target>
+
   <target name="package-c" depends="compile-c">
     <chmod file="${c.src.dir}/config/install-sh" perm="ugo+x"/>
     <exec dir="${c.build.dir}" executable="make" failonerror="true">

Modified: hadoop/avro/trunk/src/c/Makefile.am
URL: http://svn.apache.org/viewvc/hadoop/avro/trunk/src/c/Makefile.am?rev=834708&r1=834707&r2=834708&view=diff
==============================================================================
--- hadoop/avro/trunk/src/c/Makefile.am (original)
+++ hadoop/avro/trunk/src/c/Makefile.am Tue Nov 10 23:31:34 2009
@@ -24,8 +24,8 @@
         -release $(VERSION) \
         -export-dynamic
 
-
-check_PROGRAMS=test_json_parser test_avro_schema test_avro_data test_avro_interop
+noinst_PROGRAMS=test_avro_interop
+check_PROGRAMS=test_json_parser test_avro_schema test_avro_data
 
 dist-hook: docs
 



Mime
View raw message