mirror of https://github.com/ARMmbed/mbed-os.git
CMake: Refactor MBED_TEST_MODE test application
parent
fa1d9c059d
commit
c29b561784
|
@ -8,6 +8,7 @@ set(MBED_CONFIG_PATH ${CMAKE_CURRENT_BINARY_DIR} CACHE STATIC "")
|
|||
|
||||
include(${MBED_PATH}/tools/cmake/app.cmake)
|
||||
|
||||
add_test(NAME mbed-test-mode-check COMMAND mbed-test-mode-check)
|
||||
add_executable(mbed-test-mode-check)
|
||||
project(mbed-test-mode-check)
|
||||
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
#error "MBED_TEST_MODE not defined with BUILD_TESTING on"
|
||||
#else
|
||||
int main(){
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue