From 1d1e7db62e4011cdfb5662a43285f56986728769 Mon Sep 17 00:00:00 2001 From: Rangaiah Date: Fri, 27 Sep 2024 11:49:31 +0530 Subject: [PATCH] Debugging unit test cases --- .github/workflows/push.yml | 5 +++++ tests/test_token.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index adcd9e36..e9181f9c 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -17,6 +17,7 @@ on: branches: - main - master + - parodus_test jobs: test: @@ -63,6 +64,10 @@ jobs: mkdir _install mkdir _install/lib cp ${RBUS_INSTALL_DIR}/usr/lib/librbus* _install/lib + build-wrapper-linux-x86-64 --out-dir bw-output make all + cd tests + ./test_token -a + cd .. build-wrapper-linux-x86-64 --out-dir bw-output make all test - name: Stop rtrouted diff --git a/tests/test_token.c b/tests/test_token.c index d22770d7..bd15fdeb 100644 --- a/tests/test_token.c +++ b/tests/test_token.c @@ -738,7 +738,7 @@ int main(void) cmocka_unit_test(test_get_rr_seq_table), cmocka_unit_test(test_assemble_jwt_from_dns), cmocka_unit_test(test_query_dns), - cmocka_unit_test(test_allow_insecure_conn), + cmocka_unit_test(test_allow_insecure_conn), cmocka_unit_test(test_get_tok), cmocka_unit_test(test_get_algo_mask), };