Ticket Created
over 3 years ago

WERETECH-12822

RFC: Please make testsuite exit with an exit code of non-zero when tests fail:

/home/ciq/.Garmin/ConnectIQ/Sdks/connectiq-sdk-lin-4.1.3-2022-05-10-b3aaee541//bin/monkeydo ./bin/fenix6xpro-xxxx-3.2.6.test.prg fenix6xpro -t ; echo $?

# [snip]
TestConfiguration.testConfigDeviceSettingsERROR
# [snip]

FAILED (passed=24, failed=0, errors=1)
0

0 indicates success and you cannot script against it. eg make test && make install will always do its thing except that is shouldn't because the test failed.