Lines Matching +full:external +full:- +full:contents
1 // REQUIRES: crash-recovery, shell
3 // FIXME: This XFAIL is cargo-culted from crash-report.c. Do we need it?
4 // XFAIL: windows-gnu
6 // RUN: rm -rf %t
7 // RUN: mkdir -p %t/i %t/m %t
8 // RUN: cp -R %S/Inputs/crash-recovery/Frameworks %t/i/
9 // RUN: mkdir -p %t/i/Frameworks/A.framework/Frameworks
10 // RUN: ln -s ../../B.framework %t/i/Frameworks/A.framework/Frameworks/B.framework
13 // RUN: not %clang -nostdinc -fsyntax-only %s \
14 // RUN: -F %/t/i/Frameworks -fmodules \
15 // RUN: -fmodules-cache-path=%t/m/ 2>&1 | FileCheck %s
17 // RUN: FileCheck --check-prefix=CHECKYAML %s -input-file \
18 // RUN: %t/crash-vfs-*.cache/vfs/vfs.yaml
19 // RUN: find %t/crash-vfs-*.cache/vfs | \
23 // CHECK-NEXT: note: diagnostic msg: {{.*}}.m
24 // CHECK-NEXT: note: diagnostic msg: {{.*}}.cache
28 // CHECKYAML-NEXT: 'contents': [
29 // CHECKYAML-NEXT: {
30 // CHECKYAML-NEXT: 'type': 'file',
31 // CHECKYAML-NEXT: 'name': "B.h",
32 // CHECKYAML-NEXT: 'external-contents': "/[[PATH]]/i/Frameworks/B.framework/Headers/B.h"
36 // CHECKYAML-NEXT: 'contents': [
37 // CHECKYAML-NEXT: {
38 // CHECKYAML-NEXT: 'type': 'file',
39 // CHECKYAML-NEXT: 'name': "B.h",
40 // CHECKYAML-NEXT: 'external-contents': "/[[PATH]]/i/Frameworks/B.framework/Headers/B.h"
44 // Run the reproducer script - regular exit code is enough to test it works. The
52 // RUN: rm -rf i
53 // RUN: rm -rf crash-vfs-umbrella-*.cache/modules/*
54 // RUN: chmod 755 crash-vfs-*.sh
55 // RUN: ./crash-vfs-*.sh