diff options
author | Tom Rini <trini@konsulko.com> | 2023-07-24 19:51:05 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-24 19:51:05 -0400 |
commit | 94e7cb181ad6bd25d36a11c58e0df64e9f815888 (patch) | |
tree | ecd308f65b3b7e5f709cb09c9766f1fc8edb7783 /test/lib/uuid.c | |
parent | d927d1a80843e1c3e2a3f0b8f6150790bef83da1 (diff) |
Revert "Merge branch '2023-07-24-introduce-FF-A-suppport'"
This reverts commit d927d1a80843e1c3e2a3f0b8f6150790bef83da1, reversing
changes made to c07ad9520c6190070513016fdb495d4703a4a853.
These changes do not pass CI currently.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test/lib/uuid.c')
-rw-r--r-- | test/lib/uuid.c | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/test/lib/uuid.c b/test/lib/uuid.c deleted file mode 100644 index e24331a1366..00000000000 --- a/test/lib/uuid.c +++ /dev/null @@ -1,41 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0+ -/* - * Functional tests for UCLASS_FFA class - * - * Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com> - * - * Authors: - * Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com> - */ - -#include <common.h> -#include <uuid.h> -#include <test/lib.h> -#include <test/test.h> -#include <test/ut.h> - -/* test UUID */ -#define TEST_SVC_UUID "ed32d533-4209-99e6-2d72-cdd998a79cc0" - -#define UUID_SIZE 16 - -/* The UUID binary data (little-endian format) */ -static const u8 ref_uuid_bin[UUID_SIZE] = { - 0x33, 0xd5, 0x32, 0xed, - 0x09, 0x42, 0xe6, 0x99, - 0x72, 0x2d, 0xc0, 0x9c, - 0xa7, 0x98, 0xd9, 0xcd -}; - -static int lib_test_uuid_to_le(struct unit_test_state *uts) -{ - const char *uuid_str = TEST_SVC_UUID; - u8 ret_uuid_bin[UUID_SIZE] = {0}; - - ut_assertok(uuid_str_to_le_bin(uuid_str, ret_uuid_bin)); - ut_asserteq_mem(ref_uuid_bin, ret_uuid_bin, UUID_SIZE); - - return 0; -} - -LIB_TEST(lib_test_uuid_to_le, 0); |