diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-02-11 01:09:07 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-02-11 02:36:07 -0800 |
commit | 6195ab7d55a2f5dfe1dcd9fb5172b48b6ac6e74e (patch) | |
tree | 27f6d86e3037727bccfb04e72092208a693ad8db /mu.arc.t | |
parent | e25036038374f6879db794ad2086711521311e97 (diff) | |
download | mu-6195ab7d55a2f5dfe1dcd9fb5172b48b6ac6e74e.tar.gz |
742 - turns out chessboard test logs were incomplete
Now that we aren't loading system software for every test we can afford to log the loading of test functions.
Diffstat (limited to 'mu.arc.t')
-rw-r--r-- | mu.arc.t | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/mu.arc.t b/mu.arc.t index 08ff3535..a74117a2 100644 --- a/mu.arc.t +++ b/mu.arc.t @@ -165,8 +165,8 @@ ;? (prn memory*) (when (~is memory*.1 23) (prn "F - 'copy' writes its lone 'arg' after the instruction name to its lone 'oarg' or output arg before the arrow. After this test, the value 23 is stored in memory address 1.")) -;? (reset) ;? 1 -;? (quit) ;? 1 +;? (reset) ;? 2 +;? (quit) ;? 2 ; Our basic arithmetic ops can operate on memory locations or literals. ; (Ignore hardware details like registers for now.) @@ -918,13 +918,8 @@ (~is (memory* (+ second 1)) t) (~is memory*.10 nil)))) (prn "F - lists can contain elements of different types")))) -(add-code - '((function test2 [ - (10:list-address <- list-next 1:list-address) - ]))) -;? (set dump-trace*) -(run 'test2) -;? (prn memory*) +(run-code test2 + (10:list-address <- list-next 1:list-address)) (each routine completed-routines* (aif rep.routine!error (prn "error - " it))) (when (~is memory*.10 memory*.6) |