• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Due to ln -sf:
2 // REQUIRES: shell
3 // RUN: mkdir -p %t.real
4 // RUN: cd %t.real
5 // RUN: ln -sf %clang test-clang
6 // RUN: cd ..
7 // RUN: ln -sf %t.real %t.fake
8 // RUN: cd %t.fake
9 // RUN: ./test-clang -v -S %s 2>&1 | FileCheck --check-prefix=CANONICAL %s
10 // RUN: ./test-clang -v -S %s -no-canonical-prefixes 2>&1 | FileCheck --check-prefix=NON-CANONICAL %s
11 //
12 // FIXME: This should really be '.real'.
13 // CANONICAL: InstalledDir: {{.*}}.fake
14 // CANONICAL: {{[/|\\]*}}clang{{.*}}" -cc1
15 //
16 // NON-CANONICAL: InstalledDir: .{{$}}
17 // NON-CANONICAL: test-clang" -cc1
18