Simplify and shorten unit test code - part 1

Summary: related to T12015

Reviewers: ivica

Reviewed By: ivica

Subscribers: miljen, iljazovic

Differential Revision: https://repo.mireo.local/D27488
This commit is contained in:
Korina Šimičević
2024-01-23 07:54:38 +01:00
parent 28bf23947d
commit 9b92f7fca2
7 changed files with 200 additions and 243 deletions
+2 -2
View File
@@ -104,7 +104,7 @@ jobs:
- name: Run tests
run: |
.\\test\\build\\${{ matrix.build-type }}\\mqtt-test.exe --log_level=test_suite
.\\test\\build\\${{ matrix.build-type }}\\mqtt-test.exe
posix:
name: "${{ matrix.toolset }} std=c++${{ matrix.cxxstd }} ${{ matrix.build-type }}"
@@ -220,4 +220,4 @@ jobs:
cmake --build test/build -j 4
- name: Run tests
run: ./test/build/mqtt-test --log_level=test_suite
run: ./test/build/mqtt-test
+2 -2
View File
@@ -8,7 +8,7 @@ env:
jobs:
posix:
name: "coverage ${{matrix.compiler}} -std=c++${{matrix.cxxstd}}"
name: "coverage ${{ matrix.compiler }} -std=c++${{ matrix.cxxstd }}"
defaults:
run:
shell: bash
@@ -66,7 +66,7 @@ jobs:
cmake --build test/build -j 4
- name: Run tests
run: ./test/build/mqtt-test --log_level=test_suite
run: ./test/build/mqtt-test
- name: Generate Coverage Report
run: |