You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.167
Former-commit-id: 289509151e0fee68a1b591a20c9f109c3c789d3a
This commit is contained in:
parent
e19d552987
commit
b084638f15
@ -1,28 +0,0 @@
|
||||
# Check whether boolean options are consistently normalized to ON/OFF.
|
||||
RUN: llvm-config --assertion-mode 2>&1 | FileCheck --check-prefix=CHECK-ONOFF %s
|
||||
RUN: llvm-config --has-global-isel 2>&1 | FileCheck --check-prefix=CHECK-ONOFF %s
|
||||
CHECK-ONOFF: {{ON|OFF}}
|
||||
CHECK-ONOFF-NOT: error:
|
||||
CHECK-ONOFF-NOT: warning
|
||||
|
||||
# ...or to YES/NO.
|
||||
RUN: llvm-config --has-rtti 2>&1 | FileCheck --check-prefix=CHECK-YESNO %s
|
||||
CHECK-YESNO: {{YES|NO}}
|
||||
CHECK-YESNO-NOT: error:
|
||||
CHECK-YESNO-NOT: warning
|
||||
|
||||
# Also check some other multi-choice options.
|
||||
RUN: llvm-config --build-mode 2>&1 | FileCheck --check-prefix=CHECK-BUILD-MODE %s
|
||||
CHECK-BUILD-MODE: {{[Dd][Ee][Bb][Uu][Gg]|[Rr][Ee][Ll][Ee][Aa][Ss][Ee]|[Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo]|[Mm][Ii][Nn][Ss][Ii][Zz][Ee][Rr][Ee][Ll]}}
|
||||
CHECK-BUILD-MODE-NOT: error:
|
||||
CHECK-BUILD-MODE-NOT: warning
|
||||
|
||||
RUN: llvm-config --build-system 2>&1 | FileCheck --check-prefix=CHECK-BUILD-SYSTEM %s
|
||||
CHECK-BUILD-SYSTEM: cmake
|
||||
CHECK-BUILD-SYSTEM-NOT: error:
|
||||
CHECK-BUILD-SYSTEM-NOT: warning
|
||||
|
||||
RUN: llvm-config --shared-mode 2>&1 | FileCheck --check-prefix=CHECK-SHARED-MODE %s
|
||||
CHECK-SHARED-MODE: {{static|shared}}
|
||||
CHECK-SHARED-MODE-NOT: error:
|
||||
CHECK-SHARED-MODE-NOT: warning
|
@ -1,7 +0,0 @@
|
||||
RUN: llvm-config --cflags 2>&1 | FileCheck %s
|
||||
RUN: llvm-config --cppflags 2>&1 | FileCheck %s
|
||||
RUN: llvm-config --cxxflags 2>&1 | FileCheck %s
|
||||
CHECK: -I
|
||||
CHECK: {{[/\\]}}include
|
||||
CHECK-NOT: error:
|
||||
CHECK-NOT: warning:
|
@ -1,5 +0,0 @@
|
||||
RUN: llvm-config --ldflags 2>&1 | FileCheck %s
|
||||
CHECK: -L
|
||||
CHECK: {{[/\\]}}lib
|
||||
CHECK-NOT: error
|
||||
CHECK-NOT: warning
|
@ -1,5 +0,0 @@
|
||||
RUN: llvm-config --ignore-libllvm --libs core support 2>&1 | FileCheck %s
|
||||
CHECK: LLVMCore
|
||||
CHECK: LLVMSupport
|
||||
CHECK-NOT: error
|
||||
CHECK-NOT: warning
|
21
external/llvm/test/tools/llvm-config/paths.test
vendored
21
external/llvm/test/tools/llvm-config/paths.test
vendored
@ -1,21 +0,0 @@
|
||||
# Check directory options for obvious issues.
|
||||
|
||||
RUN: llvm-config --bindir 2>&1 | FileCheck --check-prefix=CHECK-BINDIR %s
|
||||
CHECK-BINDIR: {{.*}}{{/|\\}}bin
|
||||
CHECK-BINDIR-NOT: error:
|
||||
CHECK-BINDIR-NOT: warning
|
||||
|
||||
RUN: llvm-config --includedir 2>&1 | FileCheck --check-prefix=CHECK-INCLUDEDIR %s
|
||||
CHECK-INCLUDEDIR: {{.*}}{{/|\\}}include
|
||||
CHECK-INCLUDEDIR-NOT: error:
|
||||
CHECK-INCLUDEDIR-NOT: warning
|
||||
|
||||
RUN: llvm-config --libdir 2>&1 | FileCheck --check-prefix=CHECK-LIBDIR %s
|
||||
CHECK-LIBDIR: {{.*}}{{/|\\}}lib{{.*}}
|
||||
CHECK-LIBDIR-NOT: error:
|
||||
CHECK-LIBDIR-NOT: warning
|
||||
|
||||
RUN: llvm-config --cmakedir 2>&1 | FileCheck --check-prefix=CHECK-CMAKEDIR %s
|
||||
CHECK-CMAKEDIR: {{.*}}{{/|\\}}cmake{{/|\\}}llvm
|
||||
CHECK-CMAKEDIR-NOT: error:
|
||||
CHECK-CMAKEDIR-NOT: warning
|
@ -1,6 +0,0 @@
|
||||
RUN: llvm-config --link-static --system-libs 2>&1 | FileCheck %s
|
||||
REQUIRES: static-libs
|
||||
UNSUPPORTED: system-windows
|
||||
CHECK: -l
|
||||
CHECK-NOT: error
|
||||
CHECK-NOT: warning
|
@ -1,7 +0,0 @@
|
||||
RUN: llvm-config --link-static --system-libs 2>&1 | FileCheck %s
|
||||
REQUIRES: static-libs
|
||||
REQUIRES: system-windows
|
||||
CHECK-NOT: -l
|
||||
CHECK: psapi.lib shell32.lib ole32.lib uuid.lib advapi32.lib
|
||||
CHECK-NOT: error
|
||||
CHECK-NOT: warning
|
Reference in New Issue
Block a user