Skip to content

Commit ef22d3a

Browse files
committed
making Mbed Unit Tests return an Error to clarify that they are disabled
1 parent 6475996 commit ef22d3a

File tree

1 file changed

+4
-2
lines changed
  • src/test_driver/mbed/unit_tests/main

1 file changed

+4
-2
lines changed

src/test_driver/mbed/unit_tests/main/main.cpp

+4-2
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,14 @@ int main()
6262

6363
ChipLogProgress(NotSpecified, "Mbed unit-tests application run");
6464

65-
int status = 0;
6665
// Migration to pw_unit_tests was not done for mbed since the unit-testing FW used to run out of flash and was disabled from
6766
// GitHub Actions workflows: https://github.com/project-chip/connectedhomeip/pull/15966
6867

69-
// status += RunRegisteredUnitTests();
68+
// int status = RunRegisteredUnitTests();
7069
// ChipLogProgress(NotSpecified, "CHIP test status: %d", status);
7170

71+
ChipLogError(NotSpecified, "Unit Tests are currently DISABLED for Mbed");
72+
int status = 1;
73+
7274
return status;
7375
}

0 commit comments

Comments
 (0)