Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test/pools/jemalloc_coarse_devdax.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ bool devDaxEnvSet() {
void *createDevDaxParams() {
char *path = getenv("UMF_TESTS_DEVDAX_PATH");
char *size = getenv("UMF_TESTS_DEVDAX_SIZE");
if (path == nullptr || path[0] == 0 || size == nullptr || size[0] == 0) {
return nullptr;
}

umf_devdax_memory_provider_params_handle_t params = NULL;
umf_result_t res =
Expand Down
3 changes: 3 additions & 0 deletions test/pools/scalable_coarse_devdax.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ bool devDaxEnvSet() {
void *createDevDaxParams() {
char *path = getenv("UMF_TESTS_DEVDAX_PATH");
char *size = getenv("UMF_TESTS_DEVDAX_SIZE");
if (path == nullptr || path[0] == 0 || size == nullptr || size[0] == 0) {
return nullptr;
}

umf_devdax_memory_provider_params_handle_t params = NULL;
umf_result_t res =
Expand Down