summaryrefslogtreecommitdiffstats
path: root/openmp/testsuite/LLVM-IR
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2017-11-13 17:44:48 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2017-11-13 17:44:48 +0000
commitf902e467b75671d06d1e9ad3663b8aa9366bc14b (patch)
treed6de4407663a1054506cd8b97d8a047f411e8cd8 /openmp/testsuite/LLVM-IR
parent9e3d8f4b39e29e4616e8addb1240530dbdfab2c4 (diff)
downloadbcm5719-llvm-f902e467b75671d06d1e9ad3663b8aa9366bc14b.tar.gz
bcm5719-llvm-f902e467b75671d06d1e9ad3663b8aa9366bc14b.zip
[OpenMP] Remove the unused testsuite/ directory
The testsuite directory is not used or updated and confuses new users to the OpenMP project. These tests were rewritten using the lit format and put under the runtime/test directory. This patch removes the entire testsuite/ directory. Differential Revision: https://reviews.llvm.org/D39767 llvm-svn: 318056
Diffstat (limited to 'openmp/testsuite/LLVM-IR')
-rw-r--r--openmp/testsuite/LLVM-IR/lit.cfg78
-rw-r--r--openmp/testsuite/LLVM-IR/lit.site.cfg.in30
-rw-r--r--openmp/testsuite/LLVM-IR/lit.tmp1
3 files changed, 0 insertions, 109 deletions
diff --git a/openmp/testsuite/LLVM-IR/lit.cfg b/openmp/testsuite/LLVM-IR/lit.cfg
deleted file mode 100644
index 195781989e5..00000000000
--- a/openmp/testsuite/LLVM-IR/lit.cfg
+++ /dev/null
@@ -1,78 +0,0 @@
-# -*- Python -*-
-
-# Configuration file for the 'lit' test runner.
-
-import os
-import sys
-import re
-import platform
-
-try:
- import lit.util
- import lit.formats
-except ImportError:
- pass
-
-# name: The name of this test suite.
-config.name = 'OpenMPValidationSuite'
-
-# testFormat: The test format to use to interpret tests.
-config.test_format = lit.formats.ShTest(execute_external=False)
-
-# suffixes: A list of file extensions to treat as test files
-# Note this can be overridden by lit.local.cfg files
-config.suffixes = ['.ll']
-
-# test_source_root: The root path where tests are located.
-#config.test_source_root = "/home/ichoyjx/install/openmp/testsuite/bin"
-#os.path.dirname(__file__)
-
-# test_exec_root: The root path where tests should be run.
-#mpvs_obj_root = getattr(config, 'mpvs_obj_root', None)
-#if mpvs_obj_root is not None:
-config.test_exec_root = "./"
-#os.path.join(mpvs_obj_root, 'src')
-
-# Discover the 'clang' and 'clangcc' to use.
-
-import os
-
-def inferClang(PATH):
- # Determine which clang to use.
- clang = os.getenv('CLANG')
-
- # If the user set clang in the environment, definitely use that and don't
- # try to validate.
- if clang:
- return clang
-
- # Otherwise look in the path.
- clang = lit.util.which('clang', PATH)
-
- if not clang:
- lit_config.fatal("couldn't find 'clang' program, try setting "
- "CLANG in your environment")
-
- return clang
-
-config.clang = inferClang(config.environment['PATH']).replace('\\', '/')
-config.substitutions.append( ('%clang', ' ' + config.clang + ' ') )
-
-# Propogate some environment variable to test environment.
-def addEnv(name):
- if name in os.environ:
- config.environment[name] = os.environ[name]
-
-addEnv('HOME')
-addEnv('PWD')
-
-
-addEnv('C_INCLUDE_PATH')
-addEnv('CPLUS_INCLUDE_PATH')
-addEnv('LIBRARY_PATH')
-addEnv('LD_LIBRARY_PATH')
-addEnv('DYLD_LIBRARY_PATH')
-
-# Check that the object root is known.
-if config.test_exec_root is None:
- lit.fatal('test execution root not set!')
diff --git a/openmp/testsuite/LLVM-IR/lit.site.cfg.in b/openmp/testsuite/LLVM-IR/lit.site.cfg.in
deleted file mode 100644
index 11866d4dd58..00000000000
--- a/openmp/testsuite/LLVM-IR/lit.site.cfg.in
+++ /dev/null
@@ -1,30 +0,0 @@
-## Autogenerated by LLVM/Clang configuration.
-#config.mpvs_src_root = "/home/ichoyjx/install/openmp/testsuite/bin/c"
-config.mpvs_obj_root = "/tmp"
-config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
-
-
-# Needed to check if a hack needs to be applied
-config.llvm_version_major = "@LLVM_VERSION_MAJOR@"
-
-# Compilers
-# FIXME: use llvmcc not llvmgcc
-config.llvmclang = "clang"
-
-# Features
-config.enable_uclibc = True if @ENABLE_UCLIBC@ == 1 else False
-config.enable_posix_runtime = True if @ENABLE_POSIX_RUNTIME@ == 1 else False
-config.have_selinux = True if @HAVE_SELINUX@ == 1 else False
-
-# Current target
-config.target_triple = "@TARGET_TRIPLE@"
-
-# Let the main config do the real work.
-try:
- lit
-except NameError:
- # Use lit_config class
- lit_config.load_config(config, "@MPVS_SOURCE_DIR@/lit.cfg")
-else:
- # Use old lit class
- lit.load_config(config, "@MPVS_SOURCE_DIR@/lit.cfg")
diff --git a/openmp/testsuite/LLVM-IR/lit.tmp b/openmp/testsuite/LLVM-IR/lit.tmp
deleted file mode 100644
index 81d30fb0a4e..00000000000
--- a/openmp/testsuite/LLVM-IR/lit.tmp
+++ /dev/null
@@ -1 +0,0 @@
-../LLVM-IR/lin_32e/
OpenPOWER on IntegriCloud