Files
llvm/clang/test/Driver/SOURCE_DATE_EPOCH.c
Ben Langmuir 0245dcc000 [clang][test] Remove check that fails if SOURCE_DATE_EPOCH is set globally
The check for "no SOURCE_DATE_EPOCH" wasn't especially interesting, and
I am not aware of a _portable_ way to unset and environment variable in
a lit test. So remove it since it can fail if the build environment has
SOURCE_DATE_EPOCH set globally.

Differential Revision: https://reviews.llvm.org/D142511
2023-01-24 16:00:56 -08:00

3 lines
109 B
C

// RUN: env SOURCE_DATE_EPOCH=123 %clang -E %s -### 2>&1 | FileCheck %s
// CHECK: "-source-date-epoch" "123"