Completed initial set of tests.

This commit is contained in:
Paul Kronenwetter 2022-05-03 22:05:45 -04:00
parent 56c4571086
commit 3874cc19ad
2 changed files with 8 additions and 0 deletions

View file

@ -139,6 +139,13 @@ add_test(NAME tnc_state_machine
python3 test_tnc_states.py")
set_tests_properties(tnc_state_machine PROPERTIES PASS_REGULAR_EXPRESSION "errors: 0")
add_test(NAME helper_routines
COMMAND sh -c "export LD_LIBRARY_PATH=${CODEC2_BUILD_DIR}/src;
export PYTHONPATH=../tnc;
cd ${CMAKE_CURRENT_SOURCE_DIR}/test;
python3 test_helpers.py")
set_tests_properties(helper_routines PROPERTIES PASS_REGULAR_EXPRESSION "errors: 0")
# These tests can't run on GitHub actions as we don't have a virtual sound card
if(NOT DEFINED ENV{GITHUB_RUN_ID})

View file

@ -11,6 +11,7 @@ sys.path.insert(0, "..")
sys.path.insert(0, "../tnc")
import data_handler
import helpers
import pytest
import static