Skip to content

Commit 047890b

Browse files
committed
[OpenMP][Tests][NFC] Mark tests trying to link COI as unsupported
For some tests with target-related functionality icc 18/19 tries to link libioffload_target.so.5, which fails for missing COI symbols.
1 parent d7fdd23 commit 047890b

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

openmp/runtime/test/api/omp_get_num_devices.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// RUN: %libomp-compile-and-run
2+
// Linking fails for icc 18
3+
// UNSUPPORTED: icc-18
4+
25
#include <stdio.h>
36
#include "omp_testsuite.h"
47

openmp/runtime/test/api/omp_pause_resource.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
// RUN: %libomp-compile-and-run
2+
3+
// Linking fails for icc 18/19
4+
// UNSUPPORTED: icc-18, icc-19
5+
26
#include <stdio.h>
37
#include "omp_testsuite.h"
48

openmp/runtime/test/critical/omp_critical_with_hint.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// RUN: %libomp-compile-and-run
2+
// critial with hint was introduced with icc 19
3+
// UNSUPPORTED: icc-18
4+
25
#include <stdio.h>
36
#include <omp.h>
47
#include "omp_testsuite.h"

openmp/runtime/test/teams/kmp_num_teams.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %libomp-compile-and-run
22
// UNSUPPORTED: gcc
3+
// Linking fails for icc 18/19
4+
// UNSUPPORTED: icc-18, icc-19
35

46
#include <stdio.h>
57
#include <stdlib.h>

0 commit comments

Comments
 (0)