CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
## Verify dsymutil bumps the .dSYM bundle directory's mtime when rewriting an
|
|
## existing bundle in place. macOS Spotlight keys off this mtime to decide
|
|
## whether to reimport the bundle's UUID; without the bump, Spotlight serves
|
|
## the previous build's UUID and DebugSymbols falls through to slow
|
|
## dsymForUUID lookups.
|
|
|
|
RUN: rm -rf %t.dir
|
|
RUN: mkdir -p %t.dir
|
|
RUN: cat %p/../Inputs/basic.macho.x86_64 > %t.dir/basic
|
|
RUN: dsymutil -oso-prepend-path=%p/.. %t.dir/basic
|
|
|
|
## Backdate the bundle dir to a known epoch so any update is visible.
|
|
RUN: env TZ=GMT touch -t 197001020000 %t.dir/basic.dSYM
|
|
## Marker with a newer-than-backdated timestamp; the second dsymutil run
|
|
## must move the bundle dir's mtime past this marker.
|
|
RUN: env TZ=GMT touch -t 200001010000 %t.dir/marker
|
|
|
|
RUN: dsymutil -oso-prepend-path=%p/.. %t.dir/basic
|
|
|
|
## `find -maxdepth 0 -newer` prints the bundle path iff its mtime is newer
|
|
## than the marker. Without the mtime bump, the directory keeps its 1970
|
|
## stamp and find prints nothing.
|
|
RUN: find %t.dir/basic.dSYM -maxdepth 0 -newer %t.dir/marker | FileCheck %s
|
|
CHECK: basic.dSYM
|