Skip to content

Commit

Permalink
llvm: stop running strip-preserve-atime.test
Browse files Browse the repository at this point in the history
This test fails in the presence of anti-virus software or other
intrusion-detection software that modifies the atime when run.

See #284056 and llvm/llvm-project#82372.

(cherry picked from commit 7201396)
  • Loading branch information
philiptaron authored and uwaces committed Apr 22, 2024
1 parent a5e4bbc commit 24f7a36
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/compilers/llvm/16/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,11 @@ in
--replace "PassBuilderCallbacksTest.cpp" ""
rm unittests/IR/PassBuilderCallbacksTest.cpp
rm test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
# Fails in the presence of anti-virus software or other intrusion-detection software that
# modifies the atime when run. See #284056.
rm test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
# timing-based tests are trouble
rm utils/lit/tests/googletest-timeout.py
'' + optionalString stdenv.hostPlatform.isMusl ''
Expand Down
4 changes: 4 additions & 0 deletions pkgs/development/compilers/llvm/17/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ stdenv.mkDerivation (rec {
--replace "PassBuilderCallbacksTest.cpp" ""
rm unittests/IR/PassBuilderCallbacksTest.cpp
rm test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
# Fails in the presence of anti-virus software or other intrusion-detection software that
# modifies the atime when run. See #284056.
rm test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
'' + optionalString stdenv.hostPlatform.isMusl ''
patch -p1 -i ${../../common/llvm/TLI-musl.patch}
substituteInPlace unittests/Support/CMakeLists.txt \
Expand Down
4 changes: 4 additions & 0 deletions pkgs/development/compilers/llvm/git/llvm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,10 @@ stdenv.mkDerivation (rec {
--replace "PassBuilderCallbacksTest.cpp" ""
rm unittests/IR/PassBuilderCallbacksTest.cpp
rm test/tools/llvm-objcopy/ELF/mirror-permissions-unix.test
# Fails in the presence of anti-virus software or other intrusion-detection software that
# modifies the atime when run. See #284056.
rm test/tools/llvm-objcopy/ELF/strip-preserve-atime.test
'' + optionalString stdenv.hostPlatform.isMusl ''
patch -p1 -i ${../../common/llvm/TLI-musl.patch}
substituteInPlace unittests/Support/CMakeLists.txt \
Expand Down

0 comments on commit 24f7a36

Please sign in to comment.