Commit graph

236 commits

Author SHA1 Message Date
Folkert
7e6724262d make after work 2020-11-06 21:48:54 +01:00
Folkert
212f8b4d50 change test runners to use new error reporting stuff 2020-11-03 19:36:02 +01:00
Folkert
e565abd411 remove passing of src 2020-11-03 17:13:44 +01:00
Folkert
c47e3d7649 remove FinishedInfo 2020-11-03 17:11:13 +01:00
Folkert
af0600dc25 report errors per-module 2020-11-03 16:59:37 +01: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
8b3b677439 remove aliases from Let and LetCon 2020-10-31 15:27:24 +01:00
Folkert
58467d6515 get tests back up an running 2020-10-30 16:58:53 +01:00
Folkert
cba841601b fix some uniqueness issues 2020-10-30 01:50:57 +01:00
Folkert
b75880bed2 expand aliases before/during canonicalization 2020-10-29 22:33:18 +01:00
Folkert
97e1f475eb from vec to slice 2020-10-29 00:14:15 +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
Richard Feldman
3d7a265c5f Load a dynamic library in the repl 2020-10-25 01:42:10 -04:00
Richard Feldman
9c49662a24 Use LinkType::Executable for normal builds 2020-10-25 01:42:10 -04:00
Richard Feldman
b4377d4d67 Get a basic dylib linking started 2020-10-25 01:41:55 -04:00
Richard Feldman
e8f1201937 Use libloading to load dylibs 2020-10-24 12:01:34 -04:00
Richard Feldman
60c33c81c3 Add LinkType to link.rs 2020-10-24 11:24:28 -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
Richard Feldman
56e600d988
Merge branch 'trunk' into top-level-thunks 2020-10-14 21:00:51 -04:00
Folkert
729e16cad9 clippy 2020-10-14 21:42:22 +02:00
Folkert
31e963fad6 make sure that the jit is linked in when running the repl 2020-10-14 21:30:35 +02:00
Folkert
ba99b96164 add repl test for type error 2020-10-14 20:53:19 +02:00
Folkert
ceccebd235 fix repl error reporting 2020-10-14 18:15:08 +02:00
Folkert
cb9ce5e8d7 use modules in the repl 2020-10-14 17:48:56 +02:00
Folkert
3843c4c458 only perform allocations for error reporting when there are errors 2020-10-14 17:13:10 +02:00
Folkert
8338296da2 add top-level thunks to the scope everywhere 2020-10-14 15:03:41 +02:00
Brendan Hansknecht
eb7e39bf7b Make clippy happy 2020-10-13 20:26:00 -07: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
1f131970bc Merge branch 'trunk' into valgrind 2020-10-11 18:13:35 -07:00
Folkert
8eec622d23 move over code that tries to do the full specialization process in parallel 2020-10-10 20:40:55 +02:00
Folkert
085c5f54de use a Dependencies struct to track what the dependencies between modules are and when they are met 2020-10-10 19:29:10 +02:00
Folkert
b7edc9b9c1 remove dead code 2020-10-08 01:36:41 +02:00
Folkert
c7b251d6b4 Merge remote-tracking branch 'origin/trunk' into gen-modules 2020-10-08 01:29:32 +02:00
Brendan Hansknecht
f73a6c0da4 Merge branch 'trunk' into valgrind 2020-10-07 15:35:58 -07:00
Richard Feldman
f499c7b056 Simplify host building 2020-10-04 16:35:14 -04:00