diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-06-08 15:06:08 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-06-08 15:06:08 -0700 |
commit | 67aeff89348d9588926b4cbd2b1feadc7d607bfa (patch) | |
tree | dca16212b4f66a9f94138b35cffeb6afa6b5bc9a /104test.subx | |
parent | a7008328cb3aa2b6182bd50ee996082bdac2ec43 (diff) | |
download | mu-67aeff89348d9588926b4cbd2b1feadc7d607bfa.tar.gz |
.
I wrote a comment about how some code was not covered by tests, and then promptly forgot what it was for. This is why we need tests. Now the hack is gone.
Diffstat (limited to '104test.subx')
-rw-r--r-- | 104test.subx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/104test.subx b/104test.subx index 5b14049e..90f224c2 100644 --- a/104test.subx +++ b/104test.subx @@ -26,7 +26,22 @@ $num-test-failures:end: 5d/pop-to-ebp c3/return +running-tests?: # -> _/eax: int + # . prologue + 55/push-ebp + 89/<- %ebp 4/r32/esp + # + 8b/-> *Running-tests? 0/r32/eax +$running-tests?:end: + # . epilogue + 89/<- %esp 5/r32/ebp + 5d/pop-to-ebp + c3/return + == data Num-test-failures: 0/imm32 + +Running-tests?: + 1/imm32/true |