llvm-project/llvm/test/tools/llvm-ifs/preserve-dates-ifs.test
Haowei Wu 5e171cebd3 [ifs] Add options to allow llvm-ifs to generate multiple outputs
This change adds options to llvm-ifs to allow it to generate multiple
types of stub files at a single invocation.

Differential Revision: https://reviews.llvm.org/D115024
2021-12-09 12:25:51 -08:00

9 lines
360 B
Plaintext

## Test writing unchanged content to TBE file with --write-if-changed flag.
# RUN: llvm-ifs --input-format=ELF --output-ifs=%t %p/Inputs/gnu_hash.so
# RUN: env TZ=GMT touch -m -t 197001010000 %t
# RUN: llvm-ifs --input-format=ELF --output-ifs=%t --write-if-changed %p/Inputs/gnu_hash.so
# RUN: env TZ=GMT ls -l %t | FileCheck %s
# CHECK: {{[[:space:]]1970}}