Skip to content

Commit 210357c

Browse files
Changed define to uppercase
1 parent 8d883e6 commit 210357c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

examples/common/utils_examples.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
#define UTILS_EXAMPLES_H
1212

1313
// Needed for CI
14-
#define test_skip_error_code 125
14+
#define TEST_SKIP_ERROR_CODE 125
1515

1616
#endif /* UTILS_EXAMPLES_H */

examples/memspace/memspace_hmat.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ int main(void) {
6262
// Check if NUMA is available
6363
if (numa_available() < 0) {
6464
fprintf(stderr, "NUMA is not available on this system.\n");
65-
return test_skip_error_code;
65+
return TEST_SKIP_ERROR_CODE;
6666
}
6767

6868
// Create the memory provider that allocates memory from the highest bandwidth numa nodes
6969
ret = createMemoryProvider(&hProvider, umfMemspaceHighestBandwidthGet());
7070
if (ret != UMF_RESULT_SUCCESS) {
71-
return ret == 1 ? test_skip_error_code : -1;
71+
return ret == 1 ? TEST_SKIP_ERROR_CODE : -1;
7272
}
7373

7474
// Allocate memory from the memory provider

examples/memspace/memspace_numa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ int main(void) {
6767
// Check if NUMA is available
6868
if (numa_available() < 0) {
6969
fprintf(stderr, "NUMA is not available on this system.\n");
70-
return test_skip_error_code;
70+
return TEST_SKIP_ERROR_CODE;
7171
}
7272

7373
// Create the memory provider that allocates memory from the specified NUMA node

test/common/test_helpers.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ extern "C" {
2020
#endif
2121

2222
// Needed for CI
23-
#define test_skip_error_code 125
23+
#define TEST_SKIP_ERROR_CODE 125
2424

2525
static inline void UT_FATAL(const char *format, ...) {
2626
va_list args_list;

0 commit comments

Comments
 (0)