From 6be90ac788a539d63e3d7e99945ca305a0e8a953 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Thu, 12 Sep 2019 19:50:54 +0000 Subject: [PATCH] llvm-reduce: For now, mark these tests as requiring a shell (since they execute shell scripts/that's the only entry point at the moment) llvm-svn: 371764 --- llvm/test/Reduce/remove-args.ll | 1 + llvm/test/Reduce/remove-funcs.ll | 1 + llvm/test/Reduce/remove-global-vars.ll | 1 + llvm/test/Reduce/remove-metadata.ll | 1 + 4 files changed, 4 insertions(+) diff --git a/llvm/test/Reduce/remove-args.ll b/llvm/test/Reduce/remove-args.ll index 6b5332a346064..634ce93d7d83f 100644 --- a/llvm/test/Reduce/remove-args.ll +++ b/llvm/test/Reduce/remove-args.ll @@ -11,6 +11,7 @@ ; RUN: llvm-reduce --test %t/test.py %s -o %t/out.ll ; RUN: cat %t/out.ll | FileCheck -implicit-check-not=uninteresting %s +; REQUIRES: shell ; CHECK: @interesting(i32 %interesting) define void @interesting(i32 %uninteresting1, i32 %interesting, i32 %uninteresting2) { diff --git a/llvm/test/Reduce/remove-funcs.ll b/llvm/test/Reduce/remove-funcs.ll index d2d380e2bc181..d48e5734dd880 100644 --- a/llvm/test/Reduce/remove-funcs.ll +++ b/llvm/test/Reduce/remove-funcs.ll @@ -12,6 +12,7 @@ ; RUN: llvm-reduce --test %t/test.py %s -o %t/out.ll ; RUN: cat %t/out.ll | FileCheck -implicit-check-not=uninteresting %s +; REQUIRES: shell define i32 @uninteresting1() { entry: diff --git a/llvm/test/Reduce/remove-global-vars.ll b/llvm/test/Reduce/remove-global-vars.ll index 100cf2f35e989..8f13c3d4a4f4d 100644 --- a/llvm/test/Reduce/remove-global-vars.ll +++ b/llvm/test/Reduce/remove-global-vars.ll @@ -12,6 +12,7 @@ ; RUN: llvm-reduce --test %t/test.py %s -o %t/out.ll ; RUN: cat %t/out.ll | FileCheck -implicit-check-not=uninteresting %s +; REQUIRES: shell ; CHECK: @interesting = global @interesting = global i32 0, align 4 diff --git a/llvm/test/Reduce/remove-metadata.ll b/llvm/test/Reduce/remove-metadata.ll index c07c243a10030..94df1d8da2e01 100644 --- a/llvm/test/Reduce/remove-metadata.ll +++ b/llvm/test/Reduce/remove-metadata.ll @@ -12,6 +12,7 @@ ; RUN: llvm-reduce --test %t/test.py %s -o %t/out.ll ; RUN: cat %t/out.ll | FileCheck -implicit-check-not=! %s +; REQUIRES: shell @global = global i32 0, !dbg !0