From 1a5aac02b3747a5b87f27a18468f3d15f545356d Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Mon, 25 Mar 2024 10:17:17 -0400 Subject: [PATCH] tests: fix some include guards Change-Id: Id8f0f6166039dd04ce36d1742fac41f9b104fca6 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/12160 Tested-by: jenkins Reviewed-by: Philippe Proulx --- tests/lib/conds/utils.hpp | 6 +++--- tests/lib/utils/run-in.hpp | 6 +++--- tests/utils/common.h | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/lib/conds/utils.hpp b/tests/lib/conds/utils.hpp index 0fd4fa0a..c1288c4f 100644 --- a/tests/lib/conds/utils.hpp +++ b/tests/lib/conds/utils.hpp @@ -4,8 +4,8 @@ * Copyright (C) 2020 Philippe Proulx */ -#ifndef TESTS_LIB_CONDS_UTILS_H -#define TESTS_LIB_CONDS_UTILS_H +#ifndef TESTS_LIB_CONDS_UTILS_HPP +#define TESTS_LIB_CONDS_UTILS_HPP #include #include @@ -176,4 +176,4 @@ using CondTriggers = bt2s::span; */ void condMain(int argc, const char **argv, CondTriggers triggers) noexcept; -#endif /* TESTS_LIB_CONDS_UTILS_H */ +#endif /* TESTS_LIB_CONDS_UTILS_HPP */ diff --git a/tests/lib/utils/run-in.hpp b/tests/lib/utils/run-in.hpp index d08e931a..f887d7a1 100644 --- a/tests/lib/utils/run-in.hpp +++ b/tests/lib/utils/run-in.hpp @@ -4,8 +4,8 @@ * Copyright (C) 2020-2023 EfficiOS, inc. */ -#ifndef TESTS_LIB_UTILS_H -#define TESTS_LIB_UTILS_H +#ifndef TESTS_LIB_UTILS_RUN_IN_HPP +#define TESTS_LIB_UTILS_RUN_IN_HPP #include @@ -46,4 +46,4 @@ public: */ void runIn(RunIn& runIn); -#endif /* TESTS_LIB_UTILS_H */ +#endif /* TESTS_LIB_UTILS_RUN_IN_HPP */ diff --git a/tests/utils/common.h b/tests/utils/common.h index 14d8830e..cbd96cf1 100644 --- a/tests/utils/common.h +++ b/tests/utils/common.h @@ -7,9 +7,9 @@ * Lib BabelTrace - Common function to all tests */ -#ifndef _TESTS_COMMON_H -#define _TESTS_COMMON_H +#ifndef TESTS_UTILS_COMMON_H +#define TESTS_UTILS_COMMON_H void recursive_rmdir(const char *path); -#endif /* _TESTS_COMMON_H */ +#endif /* TESTS_UTILS_COMMON_H */ -- 2.34.1