File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11
11
#define UTILS_EXAMPLES_H
12
12
13
13
// Needed for CI
14
- #define test_skip_error_code 125
14
+ #define TEST_SKIP_ERROR_CODE 125
15
15
16
16
#endif /* UTILS_EXAMPLES_H */
Original file line number Diff line number Diff line change @@ -62,13 +62,13 @@ int main(void) {
62
62
// Check if NUMA is available
63
63
if (numa_available () < 0 ) {
64
64
fprintf (stderr , "NUMA is not available on this system.\n" );
65
- return test_skip_error_code ;
65
+ return TEST_SKIP_ERROR_CODE ;
66
66
}
67
67
68
68
// Create the memory provider that allocates memory from the highest bandwidth numa nodes
69
69
ret = createMemoryProvider (& hProvider , umfMemspaceHighestBandwidthGet ());
70
70
if (ret != UMF_RESULT_SUCCESS ) {
71
- return ret == 1 ? test_skip_error_code : -1 ;
71
+ return ret == 1 ? TEST_SKIP_ERROR_CODE : -1 ;
72
72
}
73
73
74
74
// Allocate memory from the memory provider
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ int main(void) {
67
67
// Check if NUMA is available
68
68
if (numa_available () < 0 ) {
69
69
fprintf (stderr , "NUMA is not available on this system.\n" );
70
- return test_skip_error_code ;
70
+ return TEST_SKIP_ERROR_CODE ;
71
71
}
72
72
73
73
// Create the memory provider that allocates memory from the specified NUMA node
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ extern "C" {
20
20
#endif
21
21
22
22
// Needed for CI
23
- #define test_skip_error_code 125
23
+ #define TEST_SKIP_ERROR_CODE 125
24
24
25
25
static inline void UT_FATAL (const char * format , ...) {
26
26
va_list args_list ;
You can’t perform that action at this time.
0 commit comments