[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:
Tom Stellard 2024-02-09 20:57:05 -08:00 committed by GitHub
parent 7664ddf881
commit e165bea1d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
; REQUIRES: x86
; REQUIRES: x86, non-root-user
; Basic ThinLTO tests.
; RUN: opt -module-summary %s -o %t1.o

View File

@ -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

View File

@ -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

View File

@ -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.