branch | transitional_engine |
changeset 16021 | 6a3dc15b78b9 |
16009:7544a7d7c819 | 16021:6a3dc15b78b9 |
---|---|
1 corrosion_tests_add_test(cbindgen_rust2cpp "cpp-exe" TEST_SRC_DIR rust2cpp) |
|
2 |
|
3 set_tests_properties(cbindgen_rust2cpp_run_cpp-exe PROPERTIES PASS_REGULAR_EXPRESSION |
|
4 "^add_point Result: Point { x: 100, y: 100 }\r?\n$" |
|
5 ) |
|
6 # Todo: We also should add a cpp2rust test with the following setup: |
|
7 # - A rust lib that is used by a rust executable |
|
8 # - cbindgen creates bindings for the rust-lib |
|
9 # - c++ code uses the rust lib and is used in turn by the rust bin. |