Skip to content

Commit 29928eb

Browse files
committed
[Offload][OpenMP] Tests require libc on GPU for printf
These tests currently fail when libc is not configured to be built as they require printf to be available in target regions.
1 parent 87db8e9 commit 29928eb

File tree

6 files changed

+6
-0
lines changed

6 files changed

+6
-0
lines changed

offload/test/mapping/map_ptr_and_star_global.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %libomptarget-compilexx-run-and-check-generic
2+
// REQUIRES: libc
23

34
#include <omp.h>
45
#include <stdio.h>

offload/test/mapping/map_ptr_and_star_local.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %libomptarget-compilexx-run-and-check-generic
2+
// REQUIRES: libc
23

34
#include <omp.h>
45
#include <stdio.h>

offload/test/mapping/map_ptr_and_subscript_global.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %libomptarget-compilexx-run-and-check-generic
2+
// REQUIRES: libc
23

34
#include <omp.h>
45
#include <stdio.h>

offload/test/mapping/map_ptr_and_subscript_local.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %libomptarget-compilexx-run-and-check-generic
2+
// REQUIRES: libc
23

34
#include <omp.h>
45
#include <stdio.h>

offload/test/mapping/map_structptr_and_member_global.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %libomptarget-compilexx-run-and-check-generic
2+
// REQUIRES: libc
23

34
#include <omp.h>
45
#include <stdio.h>

offload/test/mapping/map_structptr_and_member_local.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %libomptarget-compilexx-run-and-check-generic
2+
// REQUIRES: libc
23

34
#include <omp.h>
45
#include <stdio.h>

0 commit comments

Comments
 (0)