summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManojkiran Eda <manojkiran.eda@gmail.com>2020-10-04 09:56:12 +0300
committerManojkiran Eda <manojkiran.eda@gmail.com>2020-10-04 10:23:07 +0300
commit2798756d9d29457c6f2d280ea4fbe86a33a45d12 (patch)
treec4ea6ea8310266f7fb47db8624000e45c3107511
parentaf6298daa55d41d5a47459215b96ca5ec079dfb4 (diff)
downloadbmcweb-2798756d9d29457c6f2d280ea4fbe86a33a45d12.tar.xz
Remove a test file from the repo
- It looks like there were certain experiments done related to memory santinizer builds in the past, but right now in the current state of bmcweb , msan_test.cpp can be removed as it is not doing any worthy job in CI and eats up time. - CI for meson repos already runs an address sanitizer apart from normal build, and that can be extended for memory as well without needing any changes in the repo incase we need it. [The value of b_sanitize can be one of: none, address, thread, undefined, memory, address,undefined] Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I3fd473ec6e5764b59fc437b390374a372a29efa1
-rw-r--r--meson.build3
-rw-r--r--src/msan_test.cpp9
2 files changed, 1 insertions, 11 deletions
diff --git a/meson.build b/meson.build
index 51da83a2fa..e68bc28c12 100644
--- a/meson.build
+++ b/meson.build
@@ -319,8 +319,7 @@ endif
srcfiles_bmcweb = ['src/webserver_main.cpp','redfish-core/src/error_messages.cpp',
'redfish-core/src/utils/json_utils.cpp']
-srcfiles_unittest = ['src/msan_test.cpp',
- 'redfish-core/ut/privileges_test.cpp',
+srcfiles_unittest = ['redfish-core/ut/privileges_test.cpp',
'redfish-core/ut/lock_test.cpp',
'http/ut/utility_test.cpp']
diff --git a/src/msan_test.cpp b/src/msan_test.cpp
deleted file mode 100644
index 7e42e48659..0000000000
--- a/src/msan_test.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <string>
-
-#include "gtest/gtest.h"
-
-TEST(MemorySanitizer, TestIsWorking)
-{
- std::string foo("foo");
- EXPECT_STREQ("foo", foo.c_str());
-}