Home | History | Annotate | Download | only in llvm-config
      1 # Check directory options for obvious issues.
      2 
      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
      7 
      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
     12 
     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
     17 
     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
     22