#
972dd4f6 |
| 11-Dec-2023 |
Lei YU <yulei.sh@bytedance.com> |
test: Set some cases non-parallel
Some UT cases read and write to `ERRLOG_PERSIST_PATH` dir so they will try to remove/create the dir and read/write files in the dir during the case execution. It ca
test: Set some cases non-parallel
Some UT cases read and write to `ERRLOG_PERSIST_PATH` dir so they will try to remove/create the dir and read/write files in the dir during the case execution. It causes races and the unit tests fail intermittently.
Fix the issue by setting the `is_parallel` to false for the specific cases that use the `ERRLOG_PERSIST_PATH` dir, so that these cases are run in sequence.
Tested: Verify the UT always passes for more than 300 loops.
Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I33f10ded3ca0dc11ae52f7f43849d9483ee9d202
show more ...
|
#
e0538848 |
| 11-Jun-2021 |
William A. Kennington III <wak@google.com> |
build: Refactor to separate out library This makes it more clear what code is intended for use by the phosphor-logging shared library. This is especially nice since it isolates the `
build: Refactor to separate out library This makes it more clear what code is intended for use by the phosphor-logging shared library. This is especially nice since it isolates the `phosphor_logging_dep` to only provide the exported headers instead of everything in the project. Additionally, this adds an option to build only the library components of the project when the services aren't needed. Change-Id: Ied0858fc70e8054df4c056d91f35a6f0b3acfcb1 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
#
b6b25575 |
| 19-May-2021 |
William A. Kennington III <wak@google.com> |
build: Use global variables instead of macros for test features We don't want the build to depend on recompiling objects for test separately from other executables. We can tweak settings
build: Use global variables instead of macros for test features We don't want the build to depend on recompiling objects for test separately from other executables. We can tweak settings via global variables instead. Change-Id: Ifdd078c2e381848ca1789934a36731eb8ceaf8b1 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
#
d9f0d646 |
| 21-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build: meson support for openpower-pel extensions Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4b45f71a3de4966fe3649480d4333806f201f405
|
#
a517197d |
| 16-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
build: meson support for unit tests Add support for building and running existing unit tests under meson. Fix a few test case failures that might surface from running as non
build: meson support for unit tests Add support for building and running existing unit tests under meson. Fix a few test case failures that might surface from running as non-root or without a full OpenBMC set of applications. Fixes: openbmc/phosphor-logging#11 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588c0b7d8dcdc60b9a03fee0b5d373d0023b0530
show more ...
|