Commit Graph

18 Commits

Author SHA1 Message Date
Kartik Agaram b3d8c144a4 4740 2018-10-30 22:46:05 -07:00
Kartik Agaram 2f55dd757e 4739 2018-10-30 22:38:37 -07:00
Kartik Agaram dd63f4dcb4 4738 2018-10-30 22:36:52 -07:00
Kartik Agaram 93be389bef 4731 2018-10-28 12:41:04 -07:00
Kartik Agaram b847538071 4711
Extract a helper for appending strings to raw buffers.

I'd been resisting this idea, but it actually turns out to be a pretty
clean abstraction in the end.
2018-10-17 22:31:39 -07:00
Kartik Agaram 800320a70c 4708 2018-10-17 06:47:28 -07:00
Kartik Agaram df592211f6 4706 2018-10-16 23:43:32 -07:00
Kartik Agaram 8108f5b875 4705 2018-10-16 23:27:38 -07:00
Kartik Agaram 7ea0b5325b 4704 2018-10-16 23:02:57 -07:00
Kartik Agaram a9a5718d08 4698 2018-10-14 12:53:50 -07:00
Kartik Agaram a8c6eda1cf 4691
All tests now once again run the same natively and on VM.
2018-10-13 21:01:01 -07:00
Kartik Agaram c25d9aa42a 4684
Turns out the tests for 'trace' have been broken in native mode since the
original commit (4674). Dangers of running my tests on Darwin, where I
can't run them natively.

The test failures didn't get flagged on CI because I'd forgotten to update
the exit code of the factorial app in commit 4664. At least that's fixed
in this commit.
2018-10-11 00:08:50 -07:00
Kartik Agaram b59b75310a 4683 2018-10-10 22:47:54 -07:00
Kartik Agaram 7c39778633 4681 2018-10-10 21:37:57 -07:00
Kartik Agaram a0467aa202 4680
Maps have definitely helped with debugging. Even having just the top of
the call stack is very helpful.

We're soon gonna need setup/teardown for tests. I'm not sure how compiling
run-tests will work then.
2018-10-10 21:21:18 -07:00
Kartik Agaram 8423ad4aca 4676
On second thoughts, let's not use Mu's "null is real hardware" convention
for traces. There's no real difference between a real and fake trace stream,
so we'll just always explicitly pass in *Trace-stream in production code.
2018-10-08 23:10:46 -07:00
Kartik Agaram 47fbf5e3c7 4675 2018-10-08 23:02:58 -07:00
Kartik Agaram 33ad085125 4674
subx: append to trace
2018-10-08 22:50:53 -07:00