Skip to content

Commit

Permalink
Addifing first GDB tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Robertorosmaninho committed Nov 14, 2023
1 parent 29bb01e commit a87860c
Show file tree
Hide file tree
Showing 5 changed files with 2,226 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/debugger/commands/simple.gdb
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
k start
k step
k step 99
k step
1 change: 1 addition & 0 deletions test/debugger/inputs/simple.in.kore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
LblinitGeneratedTopCell{}(Lbl'Unds'Map'Unds'{}(Lbl'Stop'Map{}(),Lbl'UndsPipe'-'-GT-Unds'{}(inj{SortKConfigVar{}, SortKItem{}}(\dv{SortKConfigVar{}}("$PGM")),inj{SortInt{}, SortKItem{}}(\dv{SortInt{}}("0")))))
6 changes: 6 additions & 0 deletions test/debugger/k-files/simple.k
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module SIMPLE
imports INT

rule I => I +Int 1
requires I <Int 100
endmodule
1 change: 1 addition & 0 deletions test/debugger/outputs/simple.out.diff.kore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Lbl'-LT-'generatedTop'-GT-'{}(Lbl'-LT-'k'-GT-'{}(kseq{}(inj{SortInt{}, SortKItem{}}(\dv{SortInt{}}("100")),dotk{}())),Lbl'-LT-'generatedCounter'-GT-'{}(\dv{SortInt{}}("0")))Lbl'-LT-'generatedTop'-GT-'{}(Lbl'-LT-'k'-GT-'{}(kseq{}(inj{SortInt{}, SortKItem{}}(\dv{SortInt{}}("100")),dotk{}())),Lbl'-LT-'generatedCounter'-GT-'{}(\dv{SortInt{}}("0")))
Loading

0 comments on commit a87860c

Please sign in to comment.