221
|
1 // Regression test. Previously the output returned the full OS name
|
|
2 // (e.g. `darwin20.3.0`) instead of just `darwin`.
|
|
3
|
|
4 // RUN: %clang -print-runtime-dir --target=x86_64-apple-darwin20.3.0 \
|
|
5 // RUN: -resource-dir=%S/Inputs/resource_dir \
|
|
6 // RUN: | FileCheck --check-prefix=PRINT-RUNTIME-DIR %s
|
|
7
|
|
8 // RUN: %clang -print-runtime-dir --target=x86_64-apple-macosx11.0.0 \
|
|
9 // RUN: -resource-dir=%S/Inputs/resource_dir \
|
|
10 // RUN: | FileCheck --check-prefix=PRINT-RUNTIME-DIR %s
|
|
11
|
|
12 // RUN: %clang -print-runtime-dir --target=arm64-apple-ios14.0.0 \
|
|
13 // RUN: -resource-dir=%S/Inputs/resource_dir \
|
|
14 // RUN: | FileCheck --check-prefix=PRINT-RUNTIME-DIR %s
|
|
15
|
|
16 // RUN: %clang -print-runtime-dir --target=arm64-apple-tvos14.0.0 \
|
|
17 // RUN: -resource-dir=%S/Inputs/resource_dir \
|
|
18 // RUN: | FileCheck --check-prefix=PRINT-RUNTIME-DIR %s
|
|
19
|
|
20 // RUN: %clang -print-runtime-dir --target=arm64-apple-watchos5.0.0 \
|
|
21 // RUN: -resource-dir=%S/Inputs/resource_dir \
|
|
22 // RUN: | FileCheck --check-prefix=PRINT-RUNTIME-DIR %s
|
|
23
|
|
24 // PRINT-RUNTIME-DIR: lib{{/|\\}}darwin{{$}}
|