Skip to content

Commit 40bfd82

Browse files
Add missing cypress secure requirement
1 parent c120d94 commit 40bfd82

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

.github/workflows/greentea_cmake.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Compile Check
22
on: [pull_request]
33

44
jobs:
5-
greentea-tests:
5+
build-greentea:
66
runs-on: ubuntu-latest
77
container: ghcr.io/armmbed/mbed-os-env:master-latest
88

platform/tests/TESTS/mbed_platform/wait_ns/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ void test_wait_ns_time_measurement()
7777
timer.stop();
7878

7979
/* Check results - wait_val_us us have elapsed. */
80-
TEST_ASSERT_FLOAT_WITHIN(DELTA * wait_val_s, MIDPOINT * wait_val_s, timer.read());
80+
TEST_ASSERT_FLOAT_WITHIN(DELTA * wait_val_s, MIDPOINT * wait_val_s,
81+
std::chrono::duration<float>(timer.elapsed_time()).count());
8182
}
8283

8384
utest::v1::status_t test_setup(const size_t number_of_cases)

rtos/tests/TESTS/mbed_rtos/heap_and_stack/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ void test_heap_allocation_free(void)
260260
check_and_free_heap(head, max_allocation_size);
261261

262262
// Force a task switch so a stack check is performed
263-
ThisThread::sleep_for(10);
263+
ThisThread::sleep_for(10s);
264264

265265
printf("Total size dynamically allocated: %luB\n", max_allocation_size);
266266
}

rtos/tests/TESTS/mbed_rtos/malloc/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ void test_multithread_allocation(void)
8989

9090
// Give the test time to run
9191
while (test_time--) {
92-
ThisThread::sleep_for(1000);
92+
ThisThread::sleep_for(1s);
9393
}
9494

9595
// Join and delete all threads

tools/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ lxml; sys_platform == 'darwin'
3333
# needed for signing secure images
3434
cryptography
3535
cbor
36+
cysecuretools~=6.0
3637

3738
# Needed for downloading CMSIS MCU descriptions
3839
cmsis-pack-manager~=0.5.0

0 commit comments

Comments
 (0)