Files
Jens GeyerandClaude Opus 5.5 2e7cf9f991 THRIFT-6376: Run the netstd tutorial in CI
Client: netstd

smoketest.sh starts the tutorial server and runs the client against it
with -mc:2, once for each transport and with the compact and JSON
protocols, the buffered and framed transports and multiplexing. "make
check" in tutorial/netstd runs it, and so does a new step in the
lib-netstd job.

The client now exits with 1 when one of its clients fails. It used to
log the error and exit with 0, so a script could not tell a failed run
from a good one.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-27 17:58:02 +02:00

56 lines
1.5 KiB
Makefile

#
# 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 = .
all-local:
$(DOTNETCORE) build -c Release
check-local:
DOTNET="$(DOTNETCORE)" bash ./smoketest.sh
clean-local:
$(RM) Interfaces.dll
$(RM) -r Client/bin
$(RM) -r Client/obj
$(RM) -r Server/bin
$(RM) -r Server/obj
$(RM) -r Interfaces/bin
$(RM) -r Interfaces/obj
distdir:
$(MAKE) $(AM_MAKEFLAGS) distdir-am
# The projects ship as whole directories; strip the generated code and build
# output a built tree leaves behind, keeping the tracked project scaffolding.
dist-hook:
rm -rf $(distdir)/Interfaces/shared $(distdir)/Interfaces/tutorial
find $(distdir) -type d \( -name bin -o -name obj \) -prune -exec rm -rf {} +
EXTRA_DIST = \
Client \
Interfaces \
README.md \
Server \
Tutorial.slnx \
build.cmd \
build.sh \
smoketest.sh