Commit graph

225 commits

Author SHA1 Message Date
Folkert
41c5101799 more tests 2020-11-09 14:28:31 +01:00
lrosa007
3ba6f2bf88 some improvements around tags in the repl 2020-11-08 20:07:34 -05:00
Richard Feldman
6929c63bb8
Merge branch 'trunk' into add-pkg-config 2020-11-07 22:06:08 -05:00
Jared Ramirez
74b09605a7
Merge branch 'trunk' into builtin-count-graphemes 2020-11-07 18:49:29 -06:00
lrosa007
c0119514b0 fix(Str): countGraphemes repl_eval test 2020-11-07 18:34:18 -05:00
Folkert
cb1895a989 add more Pkg-Config.roc files 2020-11-07 23:10:38 +01:00
Richard Feldman
51b838010c
Merge pull request #656 from rtfeldman/typo
Fix minor typo/copy-paste error
2020-11-07 11:16:12 -05:00
Brendan Hansknecht
af465d8a21 Fix minor typo/copy-paste error 2020-11-06 23:23:40 -08:00
Folkert
332e4553bd fix formatting issue 2020-11-07 00:58:12 +01:00
Folkert
dfd316c062 comment memory-leaking test 2020-11-07 00:48:43 +01:00
Folkert
7cfe5efe1b Merge remote-tracking branch 'origin/trunk' into generate-effects-module 2020-11-07 00:30:23 +01:00
Jared Ramirez
14fed8e6a6 Fix cargo fmt 2020-11-06 17:03:21 -06:00
Jared Ramirez
e112a406a2 Fix countGrapheme wiring; Reorganize zig builtins; Streamline how we export zig function 2020-11-06 16:54:28 -06:00
Folkert
7e6724262d make after work 2020-11-06 21:48:54 +01:00
lrosa007
4f5237fcd8 add repl_eval test 2020-11-05 08:31:33 -05:00
Folkert
16fbff6eda enable multi-dep-str-optimized test 2020-11-02 22:51:47 +01:00
Folkert
425fd82fe9 fix multi dep str example 2020-11-02 21:58:23 +01:00
Folkert
eedf746ec7 update host files after recent code gen changes 2020-11-02 16:29:51 +01:00
Richard Feldman
244486eba6 Reproduce some multi-dep bugs 2020-10-31 22:35:41 -04:00
Richard Feldman
1f183769c4 Use explicit dir in cli_run tests 2020-10-31 22:25:27 -04:00
Folkert
58467d6515 get tests back up an running 2020-10-30 16:58:53 +01:00
Brendan Hansknecht
9dee5d0f71 Add missing valgrind varients 2020-10-27 23:08:57 -07:00
Brendan Hansknecht
cf3786fe6b Refactor cli tests and ignore valgrind 2020-10-27 22:49:26 -07:00
Brendan Hansknecht
b4df0b0ba8 Log full output on match failure 2020-10-26 18:00:33 -07:00
Brendan Hansknecht
78b13ae59d Specifically ignore some Valgrind test 2020-10-26 17:32:44 -07:00
Richard Feldman
d409ff90f6 Temporarily re-disable valgrind to avoid CI errors
These pass locally, and even on CI they pass for Hello World.
See https://github.com/rtfeldman/roc/pull/605#issuecomment-716196759
2020-10-25 15:34:48 -04:00
Brendan Hansknecht
46148f0114 Minimize work done in valgrind tests to fix ci 2020-10-22 17:11:38 -07:00
Richard Feldman
fd2512a064 For now, disable valgrind on quickcheck 2020-10-18 10:55:45 -04: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
Folkert
ba99b96164 add repl test for type error 2020-10-14 20:53:19 +02:00
Brendan Hansknecht
d2cfd8e195 Log output on cli run error 2020-10-13 19:41:45 -07:00
Brendan Hansknecht
270dda8d5d Add multi-module example to valgrind
This is now technically mergable, but it does not run unoptimized
quicksort.
2020-10-12 19:54:53 -07:00
Brendan Hansknecht
d4d7fc7bc6 Merge branch 'trunk' into valgrind 2020-10-12 19:44:25 -07:00
Brendan Hansknecht
d9550b00a5 Run both optimized and unoptimized builds with valgrind 2020-10-12 15:08:08 -07:00
Folkert
a067d73c14 add multi module cli test 2020-10-12 22:24:05 +02: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
Richard Feldman
8395044ce6 Improve error reporting in cli_run tests 2020-09-26 23:00:55 -04:00
Folkert
16fc5dd497 Merge remote-tracking branch 'origin/trunk' into exception-handling 2020-09-19 21:50:57 +02:00
Folkert
be6752542b update to run on our fork of inkwell again 2020-09-19 21:50:33 +02:00
Folkert
9a0a13646f fix repl 2020-09-19 01:46:14 +02:00
Richard Feldman
5d3645350d Merge remote-tracking branch 'origin/trunk' into small-str 2020-09-16 02:23:06 -04: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
Folkert
ee017084f7 return 3-element records 2020-09-14 21:56:57 +02:00
Chad Stearns
a318253d48 small str implementation in string literal, and bringing in remote trunk 2020-09-09 21:53:38 -04:00
Richard Feldman
070154e97b Shorten the repl greeting a bit. 2020-08-31 23:50:27 -04:00
Richard Feldman
7682e09b0a Fix some fmt stuff 2020-08-31 23:13:50 -04:00
Richard Feldman
f35e43768a Get things compiling 2020-08-31 23:13:50 -04:00