Bell/disable cases based on glibcversion (#13158)
* debug only
Signed-off-by: fishbell <bell.song@intel.com>
* refine comment
Signed-off-by: fishbell <bell.song@intel.com>
* Revert "debug only"
This reverts commit 5ef6140b63.
* disable tests if glibc<2.34
Signed-off-by: fishbell <bell.song@intel.com>
* cpplint
Signed-off-by: fishbell <bell.song@intel.com>
Signed-off-by: fishbell <bell.song@intel.com>
This commit is contained in:
@@ -3,14 +3,22 @@
|
||||
//
|
||||
|
||||
#include <behavior/plugin/core_threading.hpp>
|
||||
#ifdef __GLIBC__
|
||||
#include <gnu/libc-version.h>
|
||||
#if __GLIBC_MINOR__ >= 34
|
||||
#define ENABLETESTMULTI
|
||||
#endif
|
||||
#endif
|
||||
|
||||
namespace {
|
||||
|
||||
const Params params[] = {
|
||||
std::tuple<Device, Config>{ CommonTestUtils::DEVICE_CPU, {{ CONFIG_KEY(PERF_COUNT), CONFIG_VALUE(YES) }}},
|
||||
std::tuple<Device, Config>{ CommonTestUtils::DEVICE_HETERO, {{ "TARGET_FALLBACK", CommonTestUtils::DEVICE_CPU }}},
|
||||
#ifdef ENABLETESTMULTI
|
||||
std::tuple<Device, Config>{ CommonTestUtils::DEVICE_MULTI, {{ MULTI_CONFIG_KEY(DEVICE_PRIORITIES) , CommonTestUtils::DEVICE_CPU }}},
|
||||
std::tuple<Device, Config>{ CommonTestUtils::DEVICE_AUTO, {{ MULTI_CONFIG_KEY(DEVICE_PRIORITIES) , CommonTestUtils::DEVICE_CPU }}},
|
||||
#endif
|
||||
};
|
||||
|
||||
const Params paramsStreams[] = {
|
||||
|
||||
Reference in New Issue
Block a user