Commit Graph

75 Commits

Author SHA1 Message Date
Anton-4
0b5b3a8652
Merge branch 'trunk' of github.com:rtfeldman/roc into build-nix 2022-08-01 16:51:07 +02:00
Anton-4
43f9e2a7c3
fixes to make default.nix work 2022-08-01 16:50:38 +02:00
Folkert
dbbbc32583
changes after review 2022-07-28 16:25:14 +02:00
Folkert
e67e968ba1
use stack/heap memory instead of mmap for roc test 2022-07-27 17:28:44 +02:00
Folkert
e19b272a9e
test expect reporting 2022-07-27 13:51:12 +02:00
Folkert
91ea71c7aa
give mmap creation permissions 2022-07-27 12:15:27 +02:00
Folkert
40d7e94a17
make the mmapped buffer configurable 2022-07-26 23:36:25 +02:00
Folkert
64c2d8d87e
move expect running logic into repl_expect 2022-07-26 21:15:16 +02:00
Folkert
1017bbc5ec
use std::io::Write for making expect messages 2022-07-26 20:12:09 +02:00
Folkert
7014fbb5ec
move expect panic formatting to reporting crate 2022-07-26 18:33:43 +02:00
Folkert
1f28f15773
clippy 2022-07-26 00:11:38 +02:00
Folkert
1a1c988e45
remove clone 2022-07-26 00:08:48 +02:00
Folkert
a5320c2cf9
use code from reporting to report expect failures 2022-07-25 23:50:07 +02:00
Folkert
6d0e751999
fix bug in expect handling on the cli side 2022-07-25 22:37:36 +02:00
Folkert de Vries
834378503f
Merge pull request #3625 from rtfeldman/multiple-expects
Multiple expects
2022-07-25 00:04:37 +02:00
Richard Feldman
4abad75d67
Revert "Don't use deprecated Arg::value_of_t"
This reverts commit 20275f480b.
2022-07-24 13:58:08 -04:00
Richard Feldman
946b44cfd0
Fix some type mismatches 2022-07-24 11:22:58 -04:00
Richard Feldman
4bc961a453
Have the roc CLI use the new glue 2022-07-24 10:41:05 -04:00
Richard Feldman
98c6ab0e97
Rename crates/bindgen to crates/glue 2022-07-24 10:25:24 -04:00
Richard Feldman
20275f480b
Don't use deprecated Arg::value_of_t 2022-07-24 10:04:49 -04:00
Richard Feldman
e707084541
Add roc glue subcommand 2022-07-24 10:04:28 -04:00
Richard Feldman
c5f04aaf73
s/root module/main module/g 2022-07-24 09:39:10 -04:00
Folkert
93005cf2d0
report multiple expect failures 2022-07-24 11:25:02 +02:00
Brendan Hansknecht
a9d4bb2f8b
re-add deleted comment 2022-07-23 07:52:53 -07:00
Brendan Hansknecht
dedc408e3d
correctly re-enable platform-switching tests 2022-07-23 07:52:53 -07:00
Brendan Hansknecht
b8c7ee6cb8
re-enable platform-switching tests except c-platform 2022-07-23 07:52:53 -07:00
Richard Feldman
c6eff66f4b
Merge remote-tracking branch 'origin/trunk' into use-instant-over-system-time 2022-07-22 21:01:09 -04:00
Folkert
3ffe5abff2
for real this time 2022-07-22 17:32:48 +02:00
Folkert
148b8a1020
just work... 2022-07-22 16:58:48 +02:00
Folkert
f1b775f8c7
aftur á ný 2022-07-22 16:25:54 +02:00
Folkert
213c79801a
ugh 2022-07-22 16:03:49 +02:00
Folkert
df953ca30b
disable platform-switching tests for now 2022-07-22 15:38:38 +02:00
Folkert
dad0336d71
Revert "deduplicate test"
This reverts commit 69428571c2.
2022-07-22 15:21:24 +02:00
Folkert
69428571c2
deduplicate test 2022-07-22 14:48:22 +02:00
Christoph Rüßler
c4f141b735 Use Instant over SystemTime to record timings
Closes #3575.
2022-07-22 10:03:47 +02:00
Folkert de Vries
a432874290
Merge pull request #3592 from rtfeldman/main-dot-roc
Advise using `roc run` with no arg if running `main.roc`
2022-07-21 18:36:39 +02:00
Folkert
2e07c3f617
show preceding comment in failed test messages 2022-07-21 10:42:58 -04:00
Richard Feldman
35733d51dc
Tweak expectation panic message wording 2022-07-21 10:42:57 -04:00
Folkert
9d294b459e
thread top-level expect region through 2022-07-21 10:42:57 -04:00
Folkert
7e5476aa58
report panicking tests (not pretty yet) 2022-07-21 10:42:57 -04:00
Ayaz Hafiz
29b37a10df
Correctly use module name in linked functions 2022-07-21 09:02:04 -04:00
Ayaz Hafiz
7ef03440ef
Fully qualify values exported to host linking
Previously we were only handing off exposed values based on their
inner-module ID, but actually the fully-resolved ID is needed, because
it's reasonable that two identical names from different modules are
exposed to the host.

Closes #3483
2022-07-21 09:02:03 -04:00
Richard Feldman
8f7e33f526
Advise running roc run if given "main.roc" 2022-07-20 17:01:32 -04:00
Richard Feldman
ca4baf7131
Default roc test to main.roc 2022-07-18 20:37:49 -04:00
Richard Feldman
ae293baef7
Revise wording of roc test output 2022-07-18 11:58:26 -04:00
Richard Feldman
6389dba5b8
Merge pull request #3410 from rtfeldman/merge-macho-progress
port all macho linker work to trunk and make it mergable
2022-07-16 16:04:42 -04:00
Anton-4
7d8be7d6c4
re-enable surgical linker for cli_run tests 2022-07-15 18:17:34 +02:00
Folkert
c484df99ff fix merge conflict 2022-07-15 13:23:10 +02:00
Folkert
b9ebd4fa27 Merge remote-tracking branch 'origin/trunk' into pretty-expect-output 2022-07-15 09:12:04 +02:00
Anton-4
632f153b3e
use legacy linker for all tests until #3540 is fixed 2022-07-14 18:02:08 +02:00