Folkert
42c0de1314
better reporting of valgrind errors
2021-02-17 00:40:01 +01:00
Folkert
4bd9d417d1
add stdin support for cli tests (currently unused)
2021-01-29 00:13:09 +01:00
Folkert
728298d15a
automatic clippy fixes
2021-01-01 00:05:45 +01:00
Chadtech
3fd04cee29
Check for valgrind suppressions file environment variable when running valgrind test
2020-11-28 14:45:41 -05:00
Richard Feldman
6563d0b306
Improve valgrind diagnostics
2020-11-23 00:33:56 -05:00
Richard Feldman
c78abeaa54
Use debug formatter on valgrind error
2020-11-23 00:33:56 -05:00
Anton-4
da8deaa2f3
Using arrows in REPL moves cursor
2020-11-21 17:50:38 +01:00
Folkert
82723064c5
clippy
2020-11-09 20:02:12 +01:00
Richard Feldman
244486eba6
Reproduce some multi-dep bugs
2020-10-31 22:35:41 -04:00
Brendan Hansknecht
9dee5d0f71
Add missing valgrind varients
2020-10-27 23:08:57 -07:00
Brendan Hansknecht
b4df0b0ba8
Log full output on match failure
2020-10-26 18:00:33 -07:00
Richard Feldman
98bda47989
Add run_cmd helper
2020-10-18 09:55:31 -04:00
Richard Feldman
65336919fc
Have valgrind output XML to a tempfile
2020-10-18 08:46:50 -04:00
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