Folkert
7014fbb5ec
move expect panic formatting to reporting crate
2022-07-26 18:33:43 +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
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
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
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
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
Folkert
42941cae27
fix rust dropping a CString somehow
2022-07-13 23:08:26 +02:00
Folkert
b229c70eec
add cli test configuration
2022-07-13 19:16:36 +02:00
Folkert
a56ff4f3e3
add the roc test
test running logic
2022-07-13 18:50:46 +02:00
Richard Feldman
bf63c45b46
Compute src_dir from original filename
...
This fixed a bug where bindgen was providing cwd() for src_dir,
but actually the src_dir should have been based on the filename.
This prevents that problem from happening in the future!
2022-07-13 12:49:06 -04:00
Folkert
9d0e3e42d3
bring expectation info to the running code
2022-07-13 15:32:02 +02:00
Folkert
7b8c73325f
refactor argv envp creation
2022-07-13 15:06:55 +02:00
Folkert
e921fe6515
add code for rendering the result
2022-07-13 14:57:08 +02:00
Folkert
68c51782e6
skeleton for running pretty expects
2022-07-13 14:32:47 +02:00
Folkert
ff2b5cf6f0
properly pipe argv and envp to fexecve
2022-07-10 20:34:01 +02:00
Richard Feldman
a6d99aa357
Move src_dir into LoadStart
2022-07-08 18:16:07 -04:00
Folkert
d931546424
cleanup
2022-07-06 15:43:44 +02:00
Folkert
8b39cc444e
somewhat decent formatting
2022-07-06 15:37:22 +02:00
Folkert
12027ee338
run platform-independent tests from a dynamic lib
2022-07-06 15:33:10 +02:00
Folkert
610f8784cc
split out dylib creation
2022-07-06 15:26:03 +02:00
Richard Feldman
cc94fdd88f
wip
2022-07-06 15:14:39 +02:00
Brendan Hansknecht
42de78213b
port all macho linker work to trunk and make it mergable
2022-07-05 21:11:35 -07:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes
2022-07-01 17:37:43 +02:00