1 # Check directory options for obvious issues.
3 RUN: llvm-config --bindir 2>&1 | FileCheck --check-prefix=CHECK-BINDIR %s
4 CHECK-BINDIR: {{.*}}{{/|\\}}bin
5 CHECK-BINDIR-NOT: error:
6 CHECK-BINDIR-NOT: warning
8 RUN: llvm-config --includedir 2>&1 | FileCheck --check-prefix=CHECK-INCLUDEDIR %s
9 CHECK-INCLUDEDIR: {{.*}}{{/|\\}}include
10 CHECK-INCLUDEDIR-NOT: error:
11 CHECK-INCLUDEDIR-NOT: warning
13 RUN: llvm-config --libdir 2>&1 | FileCheck --check-prefix=CHECK-LIBDIR %s
14 CHECK-LIBDIR: {{.*}}{{/|\\}}lib{{.*}}
15 CHECK-LIBDIR-NOT: error:
16 CHECK-LIBDIR-NOT: warning
18 RUN: llvm-config --cmakedir 2>&1 | FileCheck --check-prefix=CHECK-CMAKEDIR %s
19 CHECK-CMAKEDIR: {{.*}}{{/|\\}}cmake{{/|\\}}llvm
20 CHECK-CMAKEDIR-NOT: error:
21 CHECK-CMAKEDIR-NOT: warning