grpc: include/grpcpp/test/mock_stream.h is not installed by cmake's `make install`
What version of gRPC and what language are you using?
v1.20.1 & c++
What operating system (Linux, Windows,…) and version?
Ubuntu 16.04.6 LTS
What runtime / compiler are you using (e.g. python version or version of gcc)
gcc version 5.4.0
What did you do?
cd /tmp && git clone -q --single-branch --depth 1 --branch v1.20.1 https://github.com/grpc/grpc.git && cd grpc && git submodule update --init && make CFLAGS='-Wimplicit-fallthrough=0' CXXFLAGS='-Wimplicit-fallthrough=0' > /dev/null && make install STRIP=/bin/true
What did you expect to see?
Expect following header file to be present:
/usr/local/include/grpcpp/test/mock_stream.h
What did you see instead?
All other include files/directories are available except the /usr/local/include/grpcpp/test
directory.
Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).
See TROUBLESHOOTING.md for how to diagnose problems better.
Anything else we should know about your project / environment?
I need mock_stream.h
to be able to write mock tests for my grpc service.
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 1
- Comments: 28 (12 by maintainers)
Any progress on this issue?
Previous PR is reverted, because it broke the build process in MacOS and Windows. Reopen this issue and investigate on another solution.