mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-30 17:21:10 +00:00
Fail early, fail fast.
llvm-svn: 112328
This commit is contained in:
parent
5ee881948a
commit
269457515a
@ -19,13 +19,16 @@ class TestPersistentVariables(TestBase):
|
||||
|
||||
self.runCmd("run", RUN_SUCCEEDED)
|
||||
|
||||
self.runCmd("expr int $i = 5; $i + 1")
|
||||
self.expect("expr int $i = 5; $i + 1",
|
||||
startstr = "$0 = (int) 6")
|
||||
# $0 = (int) 6
|
||||
|
||||
self.runCmd("expr $i + 3")
|
||||
self.expect("expr $i + 3",
|
||||
startstr = "$1 = (int) 8")
|
||||
# $1 = (int) 8
|
||||
|
||||
self.runCmd("expr $1 + $0")
|
||||
self.expect("expr $1 + $0",
|
||||
startstr = "$2 = (int) 14")
|
||||
# $2 = (int) 14
|
||||
|
||||
self.expect("expr $2",
|
||||
|
Loading…
Reference in New Issue
Block a user