You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/09/28 17:44:00 UTC

[jira] [Commented] (AVRO-2229) Ability to test using a Docker image

    [ https://issues.apache.org/jira/browse/AVRO-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16632168#comment-16632168 ] 

ASF GitHub Bot commented on AVRO-2229:
--------------------------------------

kojiromike commented on a change in pull request #336: [AVRO-2229] Test using a Docker image
URL: https://github.com/apache/avro/pull/336#discussion_r221330306
 
 

 ##########
 File path: share/docker/run-tests.sh
 ##########
 @@ -0,0 +1,66 @@
+#!/bin/bash
+
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+function headline(){
+  echo -e "\e[1;34m#################################################################"
+  echo -e "##### $1 \e[1;37m"
+  echo -e "\e[1;34m#################################################################\e[0m"
+}
+
+set -e
+
+headline "Run Java tests"
+cd /avro/lang/java
+./build.sh test
+
+headline "Run Python2 tests"
+cd /avro/lang/py
+./build.sh test
+
+headline "Run Python3 tests"
+cd /avro/lang/py3
+./build.sh test
+
+headline "Run C tests"
+cd /avro/lang/c
+./build.sh test
+
+headline "Run C++ tests"
+cd /avro/lang/c++
+# The current cpp tests are failing:
+# https://issues.apache.org/jira/projects/AVRO/issues/AVRO-2230
 
 Review comment:
   It's possible that upgrading to C++11 will also fix this issue. That may be preferable to my fix in #335 
   Up to you if you want to give it a shot in this PR. https://stackoverflow.com/a/25639772/418413

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Ability to test using a Docker image
> ------------------------------------
>
>                 Key: AVRO-2229
>                 URL: https://issues.apache.org/jira/browse/AVRO-2229
>             Project: Avro
>          Issue Type: Improvement
>    Affects Versions: 1.8.2
>            Reporter: Fokko Driesprong
>            Priority: Major
>             Fix For: 1.9.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)