Hi, I am trying to compile and run the ble-pc-driver tests but am struggling.
My best guess based on the documentation is that I am specifying something wrong when configuring the cmake project (im using cmake gui).
based on the
pc-ble-driver/test at master · NordicSemiconductor/pc-ble-driver (github.com)
For example, if you have two PCA10056 boards, you provide the following defines the CMake when generating the project files: -DBLE_DRIVER_TEST_PCA10056_A=<SEGGER_SERIAL_NUMBER>:<SERIAL_PORT> -DBLE_DRIVER_TEST_PCA10056_B=<SEGGER_SERIAL_NUMBER>:<SERIAL_PORT> -DTEST_SOFTDEVICE_API=1
The test targets needs to be ran manually, the naming of the test targets are "test_run_sdv<SoftDevice_API_version>_<SoftDevice_type>_pca". Each of the targets first program the devices with the correct connectivity firmware and then starts the test. The test result is written in junit format in directory test-reports below the the test build directory.
I added specified these:
> nrfjprog --com
682179628 COM3 VCOM0
682935919 COM6 VCOM0


which seem to generate these files when built, based on the above text these aren't all the tests that should be generated

even so running test_sd_api_v5.exe also fails on some tests
pc-ble-driver\test\softdevice_api\testcase_security.cpp(329): FAILED:
REQUIRE( p->open() == ((0x0) + 0) )
with expansion:
13 == 0
with message:
serial-ports:
port:COM3 baud-rate:1000000
port:COM6 baud-rate:1000000
retransmission-interval:250
response-timeout:1500
ble-mtu:150
hardware-info:No hardware info provided.
log-level:INFO
iterations(if relevant):10
[18:06:53.850888] [t:6072] [debug] [periph ] sd_rpc_close error code: 0x8018
[18:06:53.851338] [t:6072] [error] 0xffc7ac, in logHandler, not able to find adapter to invoke log handler on, invalid map<K, T> key
[18:06:53.851498] [t:6072] [debug] [periph ] sd_rpc_adapter_delete called and returned.
[18:06:53.852291] [t:6072] [debug] [central][log] severity:INFO message: serial port COM3 closed.
[18:06:53.852457] [t:6072] [debug] [central] sd_rpc_close error code: 0x00
[18:06:53.852593] [t:6072] [debug] [central] sd_rpc_adapter_delete called and returned.
===============================================================================
test cases: 8 | 3 passed | 5 failed
assertions: 177 | 172 passed | 5 failed
* They all fail on the same assertion.
Any assistance on the matter will be of use.