Commit Graph

12 Commits

Author SHA1 Message Date
Brendan Hansknecht
d2cfd8e195 Log output on cli run error 2020-10-13 19:41:45 -07:00
Brendan Hansknecht
06073f6692 Make leakedbytes and leakedblocks optional 2020-09-30 19:03:38 -07:00
Brendan Hansknecht
46a03e7cd5 Fail tests on any valgrind memory errors
I currently don't like how the xml is parsed. It is definitely
functional, but it is very strange. Serde is not made to deal with a
list of fields with the same name that aren't next to eachother in the
xml.
2020-09-30 09:43:52 -07:00
Brendan Hansknecht
fbce5145c1 Run cli tests with valgrind 2020-09-29 21:21:07 -07:00
Brendan Hansknecht
439c96b823 Split roc_cli into binary and lib
Splitting into binary and lib enables using the lib in tests.
main.rs is now a thin wrapper around the lib. In the future, the exact
code split should potentialy be changed so that main.rs does all arg
parsing and then calls into the lib with fully unwrapped parameters.
2020-09-14 16:34:50 -07:00
Richard Feldman
070154e97b Shorten the repl greeting a bit. 2020-08-31 23:50:27 -04:00
Richard Feldman
1a0898ca93 Ignore some newlines in repl output 2020-08-23 14:22:15 -04:00
Richard Feldman
f12410c930 Improve repl crash reporting 2020-08-23 14:22:15 -04:00
Richard Feldman
a632303d15 Revert attempt to do repl JIT better 2020-08-23 14:22:15 -04:00
Richard Feldman
d61bd673fd Make repl tests more robust to repl crashing 2020-08-23 14:22:15 -04:00
Richard Feldman
825de52b83 Add some basic repl tests 2020-08-23 11:49:33 -04:00
Richard Feldman
afa57e57e9 Extract CLI helpers 2020-08-23 10:36:51 -04:00