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
Folkert de Vries
1b1b63aad0
Merge branch 'trunk' into assoc-list-dict
2022-07-14 16:47:50 +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
2fb2ffc80c
make cli run tests use only one core (for the roc part, anyway)
2022-07-13 14:04:52 +02:00
Richard Feldman
c61795197f
Merge pull request #3478 from rtfeldman/toplevel-expect-captures
...
toplevel expect captures
2022-07-12 08:58:19 -04:00
Richard Feldman
f64fc5efe9
Merge pull request #3488 from rtfeldman/unused-deps
...
Prune unused deps
2022-07-12 08:00:44 -04:00
Richard Feldman
f5fac8230f
Prune some unused dependencies
2022-07-11 20:51:41 -04:00
Richard Feldman
ee55eeb840
Don't symlink known_bad tests
2022-07-11 20:12:56 -04: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
Folkert
c4429d64e1
add CMD_TEST
2022-07-06 15:14:54 +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
Folkert
9c856fd5ae
updates for clippy 1.62
2022-07-05 12:39:27 +02:00
Anton-4
eee85fa45d
moved all crates into seperate folder + related path fixes
2022-07-01 17:37:43 +02:00