Jonas Devlieghere 88591aa0ca
[lldb] Remove lldb-repro utility
Remove lldb-repro which was used to run the test suite against a
reproducer. The corresponding functionality has been removed from LLDB
so there's no need for the tool anymore.
2024-10-31 10:39:48 -07:00

21 lines
645 B
Plaintext

# RUN: rm -rf %t.stderr %t.stdout
# RUN: cat %s | %lldb --script-language lua 2> %t.stderr > %t.stdout
# RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT
# RUN: cat %t.stderr | FileCheck %s --check-prefix STDERR
script
file = lldb.SBFile(2, "w", false)
lldb.debugger:SetOutputFile(file)
print(95000 + 126, nil, 'a')
quit
script
print({})
quit
# STDOUT: 95126 nil a
# STDOUT-NOT: table: {{0x[[:xdigit:]]+}}
# STDERR: table: {{0x[[:xdigit:]]+}}
# RUN: rm -rf %t.stderr %t.stdout
# RUN: %lldb --script-language lua -o 'script print(95000 + 126, nil, "a")' 2> %t.stderr > %t.stdout
# RUN: cat %t.stdout | FileCheck %s --check-prefix STDOUT