thrift/test/Makefile.am

181 lines
3.6 KiB
Makefile
Raw Normal View History

#
# 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.
#
SUBDIRS = features
PRECROSS_TARGET =
if WITH_C_GLIB
SUBDIRS += c_glib
PRECROSS_TARGET += precross-c_glib
endif
if WITH_CL
SUBDIRS += cl
PRECROSS_TARGET += precross-cl
endif
if WITH_CPP
SUBDIRS += cpp
PRECROSS_TARGET += precross-cpp
endif
if WITH_PERL
SUBDIRS += perl
PRECROSS_TARGET += precross-perl
endif
if WITH_PHP
SUBDIRS += php
PRECROSS_TARGET += precross-php
endif
if WITH_DART
SUBDIRS += dart
PRECROSS_TARGET += precross-dart
endif
if WITH_PYTHON
SUBDIRS += py
PRECROSS_TARGET += precross-py
2013-03-07 16:32:48 +00:00
SUBDIRS += py.tornado
if WITH_TWISTED_TEST
SUBDIRS += py.twisted
endif
endif
if WITH_RUBY
SUBDIRS += rb
PRECROSS_TARGET += precross-rb
endif
if WITH_HAXE
SUBDIRS += haxe
endif
if WITH_DOTNET
SUBDIRS += netstd
endif
THRIFT-2497 server and client for test/go, also several fixes and improvements Client: Go Patch: Aleksey Pesternikov This closes #109 commit f2e7186ca8d63f407dba0c56ee51afd6405926ba Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-22T12:48:14Z add _ to generated filename if it ends with _test.go commit a6ed88196fbf4622a3b0261bbac0fe6b258bdd36 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-22T14:19:13Z use tcxx instead of tr1 in test/cpp commit d1848fa05f4baefc66eb405f4b1a8657bb2869bd Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-23T01:01:03Z Merge branch 'master' of https://github.com/apache/thrift into go_integration commit 04d22fef228d3f868b32a296a38f99ff52ee2142 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T00:34:24Z additions: test for client/server with several protocol/transport/ssl combinations bin/testclient and bin/testserver debug_transport fixes: separate Listen() and AcceptLoop() instead of Serve() in SimpleServer if handler function returns any unknown exception, handler closes connection commit ed88d57d977cffea9fac8f61143801f3097ef46c Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:29:54Z Generate lowercase package name lowercased pkg name in thrift files underline() -> lowercase() commit 498a910c6c6753a4b1e3633eb5c9c82be33e8c7b Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:32:26Z Merge branch 'master' into go_test_service_name commit 25792d7218a2c32ee3c2077f65ca7d0cea7f31f5 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-22T12:48:14Z add _ to generated filename if it ends with _test.go commit af994b415308a2e174d57a03675fc83d7cbd43d1 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T00:34:24Z additions: test for client/server with several protocol/transport/ssl combinations bin/testclient and bin/testserver debug_transport fixes: separate Listen() and AcceptLoop() instead of Serve() in SimpleServer if handler function returns any unknown exception, handler closes connection commit f22a777a5d5b4d93a8d7981e7aadc2c63919518a Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:44:08Z Merge branch 'go_integration' of github.com:apesternikov/thrift into go_integration commit 49a33c8c80ea35f923ee9aa3577780fcf41fe840 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:49:05Z Merge branch 'master' into test_cpp_on_mac commit 81b402ec6301f6b132c9b346ad5481f55f0aff89 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:56:56Z operator < for ThriftTest commit cde312d940d12077274dd0ba677ca850b5b439a7 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T14:12:58Z minor formatting commit 0a693115c2c20a2a8375f3859ff7bed261e6c8da Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T14:13:20Z Merge branch 'test_cpp_on_mac' into go_integration commit e06b5d24e8b6d429723a3c77a58c6ce903e1366a Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T15:19:20Z Merge branch 'go_test_service_name' into go_integration commit 42d577c9812a070060c773fcd0598e58e6d6ba61 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T15:39:57Z imported THRIFT-2491 lowercase package names commit 491ccf8b018c046c5ced72b1e19d9ac4ec48a6f5 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T15:51:53Z --noinsane flag for c++ TestClient. works with go server now for other default params commit 78db3c9a3a5742818a5de6e57f2fe9aed84919e5 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T16:03:23Z license
2014-05-08 21:18:44 +00:00
if WITH_GO
SUBDIRS += go
PRECROSS_TARGET += precross-go
THRIFT-2497 server and client for test/go, also several fixes and improvements Client: Go Patch: Aleksey Pesternikov This closes #109 commit f2e7186ca8d63f407dba0c56ee51afd6405926ba Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-22T12:48:14Z add _ to generated filename if it ends with _test.go commit a6ed88196fbf4622a3b0261bbac0fe6b258bdd36 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-22T14:19:13Z use tcxx instead of tr1 in test/cpp commit d1848fa05f4baefc66eb405f4b1a8657bb2869bd Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-23T01:01:03Z Merge branch 'master' of https://github.com/apache/thrift into go_integration commit 04d22fef228d3f868b32a296a38f99ff52ee2142 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T00:34:24Z additions: test for client/server with several protocol/transport/ssl combinations bin/testclient and bin/testserver debug_transport fixes: separate Listen() and AcceptLoop() instead of Serve() in SimpleServer if handler function returns any unknown exception, handler closes connection commit ed88d57d977cffea9fac8f61143801f3097ef46c Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:29:54Z Generate lowercase package name lowercased pkg name in thrift files underline() -> lowercase() commit 498a910c6c6753a4b1e3633eb5c9c82be33e8c7b Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:32:26Z Merge branch 'master' into go_test_service_name commit 25792d7218a2c32ee3c2077f65ca7d0cea7f31f5 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-22T12:48:14Z add _ to generated filename if it ends with _test.go commit af994b415308a2e174d57a03675fc83d7cbd43d1 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T00:34:24Z additions: test for client/server with several protocol/transport/ssl combinations bin/testclient and bin/testserver debug_transport fixes: separate Listen() and AcceptLoop() instead of Serve() in SimpleServer if handler function returns any unknown exception, handler closes connection commit f22a777a5d5b4d93a8d7981e7aadc2c63919518a Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:44:08Z Merge branch 'go_integration' of github.com:apesternikov/thrift into go_integration commit 49a33c8c80ea35f923ee9aa3577780fcf41fe840 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:49:05Z Merge branch 'master' into test_cpp_on_mac commit 81b402ec6301f6b132c9b346ad5481f55f0aff89 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T13:56:56Z operator < for ThriftTest commit cde312d940d12077274dd0ba677ca850b5b439a7 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T14:12:58Z minor formatting commit 0a693115c2c20a2a8375f3859ff7bed261e6c8da Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net> Date: 2014-04-25T14:13:20Z Merge branch 'test_cpp_on_mac' into go_integration commit e06b5d24e8b6d429723a3c77a58c6ce903e1366a Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T15:19:20Z Merge branch 'go_test_service_name' into go_integration commit 42d577c9812a070060c773fcd0598e58e6d6ba61 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T15:39:57Z imported THRIFT-2491 lowercase package names commit 491ccf8b018c046c5ced72b1e19d9ac4ec48a6f5 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T15:51:53Z --noinsane flag for c++ TestClient. works with go server now for other default params commit 78db3c9a3a5742818a5de6e57f2fe9aed84919e5 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local> Date: 2014-04-25T16:03:23Z license
2014-05-08 21:18:44 +00:00
endif
if WITH_ERLANG
SUBDIRS += erl
PRECROSS_TARGET += precross-erl
endif
if WITH_LUA
SUBDIRS += lua
PRECROSS_TARGET += precross-lua
endif
if WITH_RS
SUBDIRS += rs
PRECROSS_TARGET += precross-rs
endif
#
# generate html for ThriftTest.thrift AND validate it!
#
if WITH_NODEJS
check-local:
$(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/test/ThriftTest.thrift
$(top_builddir)/node_modules/.bin/html-validator --file=gen-html/index.html --verbose
$(top_builddir)/node_modules/.bin/html-validator --file=gen-html/ThriftTest.html --verbose
else
check-local:
$(top_builddir)/compiler/cpp/thrift --gen html -r $(top_srcdir)/test/ThriftTest.thrift
endif
clean-local:
$(RM) -r $(top_srcdir)/test/gen-html/
find . -type d -name "__pycache__" | xargs rm -rf
find . -type f -name "*.pyc" | xargs rm -f
dist-hook:
$(RM) -r $(distdir)/gen-html/
find $(distdir) -type d -name "__pycache__" | xargs rm -rf
find $(distdir) -type f -name "*.pyc" | xargs rm -f
EXTRA_DIST = \
audit \
c_glib \
cl \
cpp \
crossrunner \
2016-03-18 06:13:36 +00:00
dart \
erl \
keys \
lua \
ocaml \
perl \
php \
py \
py.tornado \
py.twisted \
rb \
rs \
threads \
AnnotationTest.thrift \
BrokenConstants.thrift \
ConstantsDemo.thrift \
DebugProtoTest.thrift \
DenseLinkingTest.thrift \
DocTest.thrift \
DoubleConstantsTest.thrift \
EnumContainersTest.thrift \
EnumTest.thrift \
2016-03-18 06:13:36 +00:00
FullCamelTest.thrift \
Include.thrift \
Identifiers.thrift \
Int64Test.thrift \
JavaBeansTest.thrift \
JavaBinaryDefault.thrift \
JavaDeepCopyTest.thrift \
JavaTypes.thrift \
JsDeepConstructorTest.thrift \
ManyOptionals.thrift \
ManyTypedefs.thrift \
NameConflictTest.thrift \
OptionalRequiredTest.thrift \
Recursive.thrift \
ReuseObjects.thrift \
SmallTest.thrift \
StressTest.thrift \
ThriftTest.thrift \
TypedefTest.thrift \
Types.thrift \
UnsafeTypes.thrift \
Service.thrift \
SpecificNameTest.thrift \
2016-03-18 06:13:36 +00:00
known_failures_Linux.json \
test.py \
tests.json \
2016-03-19 14:32:11 +00:00
rebuild_known_failures.sh \
result.js \
index.html \
README.md \
valgrind.suppress
precross-%:
$(MAKE) -C $* precross
precross: $(PRECROSS_TARGET)