mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-18 18:56:43 +00:00
[lld] Fix test failures when running as root user (#81339)
This makes it easier to run the tests in a containerized environment.
This commit is contained in:
parent
7664ddf881
commit
e165bea1d4
@ -1,4 +1,4 @@
|
||||
; REQUIRES: x86
|
||||
; REQUIRES: x86, non-root-user
|
||||
;; Not supported on windows since we use permissions to deny the creation
|
||||
; UNSUPPORTED: system-windows
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
; REQUIRES: x86
|
||||
; REQUIRES: x86, non-root-user
|
||||
|
||||
; Generate summary sections and test lld handling.
|
||||
; RUN: opt -module-summary %s -o %t1.obj
|
||||
|
@ -1,5 +1,5 @@
|
||||
; UNSUPPORTED: system-windows
|
||||
; REQUIRES: shell
|
||||
; REQUIRES: shell, non-root-user
|
||||
; RUN: llvm-as %s -o %t.bc
|
||||
; RUN: touch %t.resolution.txt
|
||||
; RUN: chmod u-w %t.resolution.txt
|
||||
|
@ -1,4 +1,4 @@
|
||||
; REQUIRES: x86
|
||||
; REQUIRES: x86, non-root-user
|
||||
|
||||
; Basic ThinLTO tests.
|
||||
; RUN: opt -module-summary %s -o %t1.o
|
||||
|
@ -1,4 +1,4 @@
|
||||
; REQUIRES: x86
|
||||
; REQUIRES: x86, non-root-user
|
||||
;; Test a few properties not tested by thinlto-index-only.ll
|
||||
|
||||
; RUN: opt -module-summary %s -o %t1.o
|
||||
|
@ -1,4 +1,4 @@
|
||||
; REQUIRES: x86
|
||||
; REQUIRES: x86, non-root-user
|
||||
|
||||
;; Creating read-only directories with `chmod 400` isn't supported on Windows
|
||||
; UNSUPPORTED: system-windows
|
||||
|
@ -1,4 +1,4 @@
|
||||
; REQUIRES: x86
|
||||
; REQUIRES: x86, non-root-user
|
||||
; RUN: rm -rf %t; split-file %s %t
|
||||
|
||||
; Generate summary sections and test lld handling.
|
||||
|
Loading…
x
Reference in New Issue
Block a user