From 5c5bca9df5508ebbd556718e0193654eb9f31380 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sun, 18 Apr 2021 23:26:38 -0700 Subject: re-enable tests Disabled in commit 1354161a3, and then I forgot about them for a while. --- mu-init.subx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/mu-init.subx b/mu-init.subx index 749cf785..b60249ba 100644 --- a/mu-init.subx +++ b/mu-init.subx @@ -12,19 +12,19 @@ Entry: # initialize stack bd/copy-to-ebp 0/imm32 - (main 0 0 Primary-bus-secondary-drive) -#? # always first run tests -#? (run-tests) -#? (num-test-failures) # => eax -#? # call main if tests all passed -#? { -#? 3d/compare-eax-and 0/imm32 -#? 75/jump-if-!= break/disp8 -#? (clear-real-screen) -#? c7 0/subop/copy *Real-screen-cursor-x 0/imm32 -#? c7 0/subop/copy *Real-screen-cursor-y 0/imm32 -#? (main 0 0 Primary-bus-secondary-drive) -#? } +#? (main 0 0 Primary-bus-secondary-drive) + # always first run tests + (run-tests) + (num-test-failures) # => eax + # call main if tests all passed + { + 3d/compare-eax-and 0/imm32 + 75/jump-if-!= break/disp8 + (clear-real-screen) + c7 0/subop/copy *Real-screen-cursor-x 0/imm32 + c7 0/subop/copy *Real-screen-cursor-y 0/imm32 + (main 0 0 Primary-bus-secondary-drive) + } # hang indefinitely { -- cgit 1.4.1-2-gfad0