brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 82e0230 Raw
55 lines · plain
1; RUN: rm -rf %t2; RUN: split-file %s %t  3; RUN: not llvm-readtapi --compare %t/tbdv4.tbd  %t/tbdv5.tbd -o %t/output.txt 2>&1 | FileCheck %s --allow-empty 4; RUN: FileCheck %s --check-prefix FILEOUT <  %t/output.txt 5 6; CHECK-NOT: error: 7; CHECK-NOT: warning: 8 9; FILEOUT: < {{.*}}tbdv4.tbd10; FILEOUT: > {{.*}}tbdv5.tbd11 12; FILEOUT:      Two Level Namespace13; FILEOUT-NEXT:         < true14; FILEOUT-NEXT:         > false15; FILEOUT-NEXT: Shared Cache Ineligible16; FILEOUT-NEXT:         < true17; FILEOUT-NEXT:         > false18 19 20 21//--- tbdv4.tbd22--- !tapi-tbd23tbd-version:     424targets:         [ arm64-macos ]25flags:           [ not_app_extension_safe, not_for_dyld_shared_cache ]26install-name:    '/usr/lib/libFake.dylib'27...28 29//--- tbdv5.tbd30{31    "main_library": {32        "flags": [33            {34                "attributes": [35                    "not_app_extension_safe",36                    "flat_namespace"37                ]38            }39        ],40        "install_names": [41            {42                "name": "/usr/lib/libFake.dylib"43            }44        ],45        "target_info": [46            {47                "min_deployment": "13",48                "target": "arm64-macos"49            }50        ]51    },52    "tapi_tbd_version": 553}54 55