Logo
Explore Help
Sign In
intel/llvm
1
0
Fork 0
You've already forked llvm
mirror of https://github.com/intel/llvm.git synced 2026-01-31 16:05:09 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
ec6a34e2a781fcfc6fe1d30e7cd358fb779157cf
llvm/lldb/test/Shell/ScriptInterpreter/Lua/quit.test

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
170 B
Plaintext
Raw Normal View History

[lldb/Lua] Recognize "quit" as a way to exit the script interpreter. Add a way to quit the interactive script interpreter from a shell tests. Currently, the only way (that I know) to exit the interactive Lua interpreter is to send a EOF with CTRL-D. I noticed that the embedded Python script interpreter accepts quit (while the regular python interpreter doesn't). I've added a special case to the Lua interpreter to do the same. Differential revision: https://reviews.llvm.org/D82272
2020-06-21 00:31:46 -07:00
# UNSUPPORTED: lldb-repro
#
# RUN: cat %s | %lldb --script-language lua 2>&1 | FileCheck %s
script
print(95000 + 126)
quit
target list
# CHECK: 95126
# CHECK: No targets
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 3639ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API