yawaramin commented on PR #2657:
URL: https://github.com/apache/thrift/pull/2657#issuecomment-1242810108
E.g. a failing test output looks like this:
```
$ rm -rf gen-ocaml; cmake --build . && ctest --output-on-failure
[ 27%] Built target parse
[ 77%] Built target thrift_compiler
[ 83%] Building CXX object
CMakeFiles/thrift_compiler_tests.dir/ocaml/snapshot_typedefs.cc.o
[ 88%] Building CXX object
CMakeFiles/thrift_compiler_tests.dir/ocaml/t_ocaml_generator_tests.cc.o
[ 94%] Linking CXX executable bin/thrift_compiler_tests
[100%] Built target thrift_compiler_tests
Test project /Users/yawar/src/github.com/yawaramin/thrift/compiler/cpp/tests
Start 1: ThriftTests
1/1 Test #1: ThriftTests ......................***Failed 0.18 sec
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
thrift_compiler_tests is a Catch v1.9.4 host application.
Run with -? for options
-------------------------------------------------------------------------------
t_ocaml_generator - typedefs
-------------------------------------------------------------------------------
/Users/yawar/src/github.com/yawaramin/thrift/compiler/cpp/tests/ocaml/t_ocaml_generator_tests.cc:63
...............................................................................
/Users/yawar/src/github.com/yawaramin/thrift/compiler/cpp/tests/ocaml/t_ocaml_generator_tests.cc:75:
FAILED:
REQUIRE( snapshot == gen.types() )
with expansion:
"
open Thrift
type decimal = int
"
==
"
open Thrift
type decimal = string
"
===============================================================================
test cases: 2 | 1 passed | 1 failed
assertions: 3 | 2 passed | 1 failed
0% tests passed, 1 tests failed out of 1
Total Test time (real) = 0.19 sec
The following tests FAILED:
1 - ThriftTests (Failed)
Errors while running CTest
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]