Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 795 Bytes

File metadata and controls

45 lines (29 loc) · 795 Bytes

Async Function Execution - TESTS

Requirements

gtest

Build

Tests are built as part of the main project. Don't use the CMakeLists file in the test folder.

mkdir -p _build_tests && cd _build_tests
cmake ../ -DBRINGAUTO_TESTS=ON
make

Run unit tests

./async_function_execution_tests

Run integration tests

Simple function test

A test that checks if the basic functionality works over aeron communication.

./async_function_execution_simple_function_test

Segfault test

To test if a segfault in the consumer affects the producer first run:

./async_function_execution_segfault_producer_test

then, when prompted, run:

./async_function_execution_segfault_consumer_test