From 3338819b08faa7f23f65fb4e67154583984ebf5c Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Fri, 9 Jul 2021 13:20:37 -0700 Subject: [PATCH] [lldb] Drop REQUIRES where redundant because of lit.local.cfg --- lldb/test/Shell/ScriptInterpreter/Lua/bindings.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_callback.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_function_callback.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/breakpoint_oneline_callback.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/command_script_import.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/convenience_variables.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/fail_breakpoint_oneline.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/independent_state.test | 2 -- lldb/test/Shell/ScriptInterpreter/Lua/io.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/lua-python.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/lua.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/nested_sessions.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/partial_statements.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/persistent_state.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/print.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/quit.test | 1 - lldb/test/Shell/ScriptInterpreter/Lua/watchpoint_callback.test | 1 - lldb/test/Shell/ScriptInterpreter/Python/command_import.test | 2 -- lldb/test/Shell/ScriptInterpreter/Python/command_relative_import.test | 2 -- lldb/test/Shell/ScriptInterpreter/Python/fail_breakpoint_oneline.test | 1 - lldb/test/Shell/ScriptInterpreter/Python/python.test | 1 - lldb/test/Shell/ScriptInterpreter/Python/sb_address_exception.test | 1 - lldb/test/Shell/ScriptInterpreter/Python/scripted_breakpoint.test | 1 - .../Shell/ScriptInterpreter/Python/silent_command_script_import.test | 2 -- 24 files changed, 28 deletions(-) diff --git a/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test b/lldb/test/Shell/ScriptInterpreter/Lua/bindings.test index db0df16..d453f11 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 574873d..f2ad440 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 69dd681..125913f 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 ef07a8a..8424cec 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 6a0692d..719e711 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 1b26bd0..6ebcb95 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 b5ca36d..8ffaef2 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 2ade1b9..8bdfd16 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 af86253..80b3b13 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 c40b8e0..38b4986 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 28042ef..56e897b 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 8730565..19fa51a 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 3b764d7..c83ff5e 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 4cdea15..af85244 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 fd457ec..f73d100 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 e47c66c..0cef4c2 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 ddb0df5..3a559f8 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 737313b..3aaac1c 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 cd401cb..aa2cbca 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 d38df16..6724464 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 77d2029..f8f9abf 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 ffcec11..9b8def2 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 12fccfe..9f87a7d 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 d6a42a4..f7e6330 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 -- 2.7.4