#--------------------------------------------------------------------------------------------------
# Copyright (C) Sierra Wireless Inc.
#--------------------------------------------------------------------------------------------------

set(APP_COMPONENT randTest)
set(APP_TARGET testFwRand)
set(APP_SOURCES
    randTest.c
)

set_legato_component(${APP_COMPONENT})
add_legato_executable(${APP_TARGET} ${APP_SOURCES})

add_test(
    NAME ${APP_TARGET}
    COMMAND ${EXECUTABLE_OUTPUT_PATH}/${APP_TARGET}
)

# This is a C test
add_dependencies(tests_c ${APP_TARGET})

#--------------------------------------------------------------------------------------------------
# Copyright (C) Sierra Wireless Inc.
#--------------------------------------------------------------------------------------------------

set(APP_COMPONENT randTest)
set(APP_TARGET testFwRand)
set(APP_SOURCES
    randTest.c
)

set_legato_component(${APP_COMPONENT})
add_legato_executable(${APP_TARGET} ${APP_SOURCES})

add_test(
    NAME ${APP_TARGET}
    COMMAND ${EXECUTABLE_OUTPUT_PATH}/${APP_TARGET}
)

# Extend the timeout as this test can take some time to collect enough samples
set_tests_properties(${APP_TARGET} PROPERTIES TIMEOUT 300)

# This is a C test
add_dependencies(tests_c ${APP_TARGET})

Extend timeout for UT testFwRand
Extend timeout for UT testFwRand

Turns out it is not 120s from the last log message but 120s from
the start of the test, so we need to extend the timeout a bit
to make sure that we have enough time to collect the required
number of samples.

Resolves: LE-7454
Change-Id: I002fffe43b00ed73a9811439b1392b926531b013
