[all-commits] [llvm/llvm-project] 31480b: [test] Avoid writing to a potentially write-protec...

Karl-Johan Karlsson via All-commits all-commits at lists.llvm.org
Sat Apr 20 03:27:19 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 31480b0cc8fe2bb1e080ffd38e38780ba7e8dec6
      https://github.com/llvm/llvm-project/commit/31480b0cc8fe2bb1e080ffd38e38780ba7e8dec6
  Author: Karl-Johan Karlsson <karl-johan.karlsson at ericsson.com>
  Date:   2024-04-20 (Sat, 20 Apr 2024)

  Changed paths:
    M clang/test/CodeGen/PowerPC/builtins-ppc-htm.c
    M clang/test/CodeGen/PowerPC/builtins-ppc-vec-ins-error.c
    M clang/test/CodeGen/RISCV/riscv-func-attr-target-err.c
    M clang/test/Sema/ppc-attr-target-inline.c
    M clang/test/SemaHLSL/BuiltIns/any-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/clamp-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/dot-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/exp-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/frac-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/half-float-only-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/isinf-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/lerp-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/mad-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/pow-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/rcp-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/reversebits-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/round-errors.hlsl
    M clang/test/SemaHLSL/BuiltIns/rsqrt-errors.hlsl
    M llvm/test/MachineVerifier/verify-inlineasmbr.mir

  Log Message:
  -----------
  [test] Avoid writing to a potentially write-protected dir (#89242)

These tests just don't check the output written to the current directory. The
current directory may be write protected e.g. in a sandboxed environment.

The Testcases that use -emit-llvm and -verify only care about stdout/stderr
and are in this patch changed to use -emit-llvm-only to avoid writing to an
output file. The verify-inlineasmbr.mir testcase that also only care about
stdout/stderr is in this patch changed to throw away the output file and just
write to /dev/null.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list