[Lldb-commits] [lldb] 3338819 - [lldb] Drop REQUIRES where redundant because of lit.local.cfg

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 9 13:25:18 PDT 2021


Author: Jonas Devlieghere
Date: 2021-07-09T13:25:10-07:00
New Revision: 3338819b08faa7f23f65fb4e67154583984ebf5c

URL: https://github.com/llvm/llvm-project/commit/3338819b08faa7f23f65fb4e67154583984ebf5c
DIFF: https://github.com/llvm/llvm-project/commit/3338819b08faa7f23f65fb4e67154583984ebf5c.diff

LOG: [lldb] Drop REQUIRES where redundant because of lit.local.cfg

Added: 
    

Modified: 
    lldb/test/Shell/ScriptInterpreter/Lua/bindings.test
    lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test
    lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_function_callback.test
    lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_oneline_callback.test
    lldb/test/Shell/ScriptInterpreter/Lua/command_script_import.test
    lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test
    lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test
    lldb/test/Shell/ScriptInterpreter/Lua/independent_state.test
    lldb/test/Shell/ScriptInterpreter/Lua/io.test
    lldb/test/Shell/ScriptInterpreter/Lua/lua-python.test
    lldb/test/Shell/ScriptInterpreter/Lua/lua.test
    lldb/test/Shell/ScriptInterpreter/Lua/nested_sessions.test
    lldb/test/Shell/ScriptInterpreter/Lua/partial_statements.test
    lldb/test/Shell/ScriptInterpreter/Lua/persistent_state.test
    lldb/test/Shell/ScriptInterpreter/Lua/print.test
    lldb/test/Shell/ScriptInterpreter/Lua/quit.test
    lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test
    lldb/test/Shell/ScriptInterpreter/Python/command_import.test
    lldb/test/Shell/ScriptInterpreter/Python/command_relative_import.test
    lldb/test/Shell/ScriptInterpreter/Python/fail_breakpoint_oneline.test
    lldb/test/Shell/ScriptInterpreter/Python/python.test
    lldb/test/Shell/ScriptInterpreter/Python/sb_address_exception.test
    lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test
    lldb/test/Shell/ScriptInterpreter/Python/silent_command_script_import.test

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test b/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test
index db0df1694e9e4..d453f11f1ec76 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # UNSUPPORTED: lldb-repro
 #
 # RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test b/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test
index 574873d2c0b63..f2ad440227af1 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t
 # RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s
 b main

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_function_callback.test b/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_function_callback.test
index 69dd6818140a1..125913f7e9bfc 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_function_callback.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_function_callback.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t
 # RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s
 b main

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_oneline_callback.test b/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_oneline_callback.test
index ef07a8af4d1f0..8424cecf37f72 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_oneline_callback.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_oneline_callback.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t
 # RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s
 b main

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/command_script_import.test b/lldb/test/Shell/ScriptInterpreter/Lua/command_script_import.test
index 6a0692d33efbc..719e71191fa44 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/command_script_import.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/command_script_import.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # RUN: %lldb --script-language lua -o 'command script import %S/Inputs/testmodule.lua' -o 'script testmodule.foo()' 2>&1 | FileCheck %s
 # CHECK: Hello World!
 

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test b/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test
index 1b26bd0e2eade..6ebcb953a96e0 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # UNSUPPORTED: lldb-repro
 #
 # This tests that the convenience variables are not nil. Given that there is no

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test b/lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test
index b5ca36d7cb563..8ffaef20db130 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
 b main
 breakpoint command add -s lua -o '1234_foo'

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/independent_state.test b/lldb/test/Shell/ScriptInterpreter/Lua/independent_state.test
index 2ade1b91c1cb6..8bdfd16fe19a6 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/independent_state.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/independent_state.test
@@ -1,5 +1,3 @@
-# REQUIRES: lua
-#
 # RUN:  %lldb --script-language lua -s %S/Inputs/independent_state.in 2>&1 | FileCheck %s
 # CHECK: 47
 # CHECK: 47

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/io.test b/lldb/test/Shell/ScriptInterpreter/Lua/io.test
index af86253f90f25..80b3b13cdd1de 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/io.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/io.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # UNSUPPORTED: lldb-repro
 #
 # RUN: rm -rf %t.stderr %t.stdout

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/lua-python.test b/lldb/test/Shell/ScriptInterpreter/Lua/lua-python.test
index c40b8e068d9fe..38b4986a66730 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/lua-python.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/lua-python.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # REQUIRES: python
 # UNSUPPORTED: lldb-repro
 

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/lua.test b/lldb/test/Shell/ScriptInterpreter/Lua/lua.test
index 28042efa8c813..56e897b8a2121 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/lua.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/lua.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # RUN: %lldb --script-language lua -o 'script io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileCheck %s
 # RUN: %lldb --script-language lua -o 'script -- io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileCheck %s
 # RUN: %lldb --script-language lua -o 'script --language default -- io.stdout:write(1000+100+10+1, "\n")' 2>&1 | FileCheck %s

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/nested_sessions.test b/lldb/test/Shell/ScriptInterpreter/Lua/nested_sessions.test
index 87305654b2fa4..19fa51ae9de73 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/nested_sessions.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/nested_sessions.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # RUN: mkdir -p %t
 # RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t/foo
 # RUN: echo "int main() { return 0; }" | %clang_host -x c - -o %t/bar

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/partial_statements.test b/lldb/test/Shell/ScriptInterpreter/Lua/partial_statements.test
index 3b764d7ba4a93..c83ff5e44351e 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/partial_statements.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/partial_statements.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # RUN: %lldb -s %s --script-language lua 2>&1 | FileCheck %s
 script
 do

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/persistent_state.test b/lldb/test/Shell/ScriptInterpreter/Lua/persistent_state.test
index 4cdea152fdaea..af852448cb5e1 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/persistent_state.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/persistent_state.test
@@ -1,3 +1,2 @@
-# REQUIRES: lua
 # RUN: %lldb --script-language lua -o 'script foo = 1010' -o 'script bar = 101' -o 'script print(foo+bar)' 2>&1 | FileCheck %s
 # CHECK: 1111

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/print.test b/lldb/test/Shell/ScriptInterpreter/Lua/print.test
index fd457ecccec1e..f73d100459db5 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/print.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/print.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # UNSUPPORTED: lldb-repro
 #
 # RUN: rm -rf %t.stderr %t.stdout

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/quit.test b/lldb/test/Shell/ScriptInterpreter/Lua/quit.test
index e47c66c5a10ac..0cef4c2f2c177 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/quit.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/quit.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # UNSUPPORTED: lldb-repro
 #
 # RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s

diff  --git a/lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test b/lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test
index ddb0df56ae0a0..3a559f8d68d14 100644
--- a/lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test
+++ b/lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test
@@ -1,4 +1,3 @@
-# REQUIRES: lua
 # XFAIL: system-netbsd
 # RUN: echo "int main() { int val = 1; val++; return 0; }" | %clang_host -x c - -g -o %t
 # RUN: %lldb -s %s --script-language lua %t 2>&1 | FileCheck %s

diff  --git a/lldb/test/Shell/ScriptInterpreter/Python/command_import.test b/lldb/test/Shell/ScriptInterpreter/Python/command_import.test
index 737313bea226b..3aaac1c04a8d0 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/command_import.test
+++ b/lldb/test/Shell/ScriptInterpreter/Python/command_import.test
@@ -1,5 +1,3 @@
-# REQUIRES: python
-
 # RUN: rm -rf %t && mkdir -p %t
 # RUN: echo "print('Rene Magritte')" >> %t/foo.py
 # RUN: echo "print('Jan van Eyck')" >> %t/foo-bar.py

diff  --git a/lldb/test/Shell/ScriptInterpreter/Python/command_relative_import.test b/lldb/test/Shell/ScriptInterpreter/Python/command_relative_import.test
index cd401cb2d3246..aa2cbcafc9283 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/command_relative_import.test
+++ b/lldb/test/Shell/ScriptInterpreter/Python/command_relative_import.test
@@ -1,5 +1,3 @@
-# REQUIRES: python
-
 # RUN: rm -rf %t && mkdir -p %t/foo/bar/baz
 # RUN: split-file %S/Inputs/relative.split %t/foo
 # RUN: split-file %S/Inputs/hello.split %t/foo/bar

diff  --git a/lldb/test/Shell/ScriptInterpreter/Python/fail_breakpoint_oneline.test b/lldb/test/Shell/ScriptInterpreter/Python/fail_breakpoint_oneline.test
index d38df16aaf1f9..67244641cf97f 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/fail_breakpoint_oneline.test
+++ b/lldb/test/Shell/ScriptInterpreter/Python/fail_breakpoint_oneline.test
@@ -1,4 +1,3 @@
-# REQUIRES: python
 # UNSUPPORTED: lldb-repro
 #
 # RUN: %lldb -s %s --script-language python 2>&1 | FileCheck %s

diff  --git a/lldb/test/Shell/ScriptInterpreter/Python/python.test b/lldb/test/Shell/ScriptInterpreter/Python/python.test
index 77d20294bc476..f8f9abfc3ab64 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/python.test
+++ b/lldb/test/Shell/ScriptInterpreter/Python/python.test
@@ -1,4 +1,3 @@
-# REQUIRES: python
 # RUN: %lldb --script-language python -o 'script print("{}".format(1000+100+10+1))' 2>&1 | FileCheck %s
 # RUN: %lldb --script-language python -o 'script -- print("{}".format(1000+100+10+1))' 2>&1 | FileCheck %s
 # RUN: %lldb --script-language python -o 'script --language default -- print("{}".format(1000+100+10+1))' 2>&1 | FileCheck %s

diff  --git a/lldb/test/Shell/ScriptInterpreter/Python/sb_address_exception.test b/lldb/test/Shell/ScriptInterpreter/Python/sb_address_exception.test
index ffcec11d3913d..9b8def211966b 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/sb_address_exception.test
+++ b/lldb/test/Shell/ScriptInterpreter/Python/sb_address_exception.test
@@ -1,4 +1,3 @@
-# REQUIRES: python
 # UNSUPPORTED: lldb-repro
 #
 # Test that the SBAddress properties throw an exception when used outside of

diff  --git a/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test b/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test
index 12fccfe16eff5..9f87a7d96e099 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test
+++ b/lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test
@@ -1,4 +1,3 @@
-# REQUIRES: python
 # UNSUPPORTED: lldb-repro
 #
 # Test that the scripting language argument to "breakpoint command" is honored

diff  --git a/lldb/test/Shell/ScriptInterpreter/Python/silent_command_script_import.test b/lldb/test/Shell/ScriptInterpreter/Python/silent_command_script_import.test
index d6a42a4f7affc..f7e6330004b76 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/silent_command_script_import.test
+++ b/lldb/test/Shell/ScriptInterpreter/Python/silent_command_script_import.test
@@ -1,5 +1,3 @@
-# REQUIRES: python
-
 # RUN: rm -rf %t && mkdir -p %t
 # RUN: echo "print('Rene Magritte')" >> %t/foo.py
 


        


More information about the lldb-commits mailing list