mirror of
https://github.com/intel/llvm.git
synced 2026-01-20 19:07:53 +08:00
[OpenMP][Tool] archer tests require tsan
Testing for tsan capability in the test-compiler in follow-up review
This commit is contained in:
@@ -2,11 +2,6 @@
|
||||
include(CheckFunctionExists)
|
||||
include(CheckLibraryExists)
|
||||
|
||||
if (OPENMP_STANDALONE_BUILD)
|
||||
return ()
|
||||
endif ()
|
||||
|
||||
|
||||
# When using libgcc, -latomic may be needed for atomics
|
||||
# (but when using compiler-rt, the atomics will be built-in)
|
||||
# Note: we can not check for __atomic_load because clang treats it
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run-race | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run-race | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run-race | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run-race | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run-race | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
// RUN: %libarcher-compile-and-run-race | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run-race | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run-race | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run| FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
|
||||
|
||||
// RUN: %libarcher-compile-and-run | FileCheck %s
|
||||
// REQUIRES: tsan
|
||||
#include <omp.h>
|
||||
#include <stdio.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user