Commit graph

310 commits

Author SHA1 Message Date
Brendan Hansknecht
546e0778c4
update dbg cli test 2023-12-02 21:18:32 -08:00
Brendan Hansknecht
6134ce0a3b
update inspect_logging test case 2023-12-02 21:18:32 -08:00
Brendan Hansknecht
5dd0bdebc9
support seamless slice in expects 2023-12-02 15:57:53 -08:00
Anton-4
cc8966e37d
Update ingested_file_bytes test
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-12-01 12:49:31 +01:00
Anton-4
a050933955
use latest basic-cli 2023-12-01 12:33:09 +01:00
Brendan Hansknecht
f5fb01fd53
Get tests passing
Add roc_dbg to some platforms.
Also start updating some roc_panic impls.
2023-11-29 21:05:49 -08:00
Brendan Hansknecht
77e55c88bf
update cli logging test 2023-11-28 16:40:43 -08:00
Brendan Hansknecht
03b3b4e341
add check tests to avoid basic-cli files going stale 2023-11-20 19:33:23 -08:00
Brendan Hansknecht
ffda01e80b
update all examples to basic-cli version and mark broken examples 2023-11-20 15:36:15 -08:00
Brendan Hansknecht
f727aea875
Remove stale copy of basic-cli from the repo
It is outdated and source of bugs for users.
There should only exist one form of basic-cli.

There are still plently of local platforms if we need them for testing.
On top of that, more can be added to cli_test_examples if needed.
2023-11-20 14:59:13 -08:00
Brendan Hansknecht
40a40ef6d2
get examples working 2023-10-23 13:50:31 -07:00
Richard Feldman
881184c2c0
Fix a wasm test 2023-10-22 16:57:26 -04:00
Richard Feldman
086a2e4c14
Fix some gui tests 2023-10-22 15:02:09 -04:00
Richard Feldman
d25c7b7025
Update ruby interop test 2023-10-22 14:48:31 -04:00
Richard Feldman
b0068d522b
Update CLI tests to use new --output filenames 2023-10-19 21:27:51 -04:00
Anton-4
1b7f2e7b55
fix ignore 2023-09-26 13:13:09 +02:00
Anton-4
1957d52945
ignore false-interpreter on linux 2023-09-26 12:55:19 +02:00
Anton-4
bd3b64d5d0
ignore 2 windows tests
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-09-23 14:46:58 +02:00
Anton-4
63d3dfc656
disable some tests
These work locally but fail on CI

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-09-19 19:43:24 +02:00
Anton-4
d0a2b5e8e1
enable fixed windows tests
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-09-19 18:48:10 +02:00
Anton-4
8073264d7e
ignore inspec_logging on windows
the basic-cli build process does not yet include the necessary files for windows

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-08-18 13:19:03 +02:00
Anton-4
0646138509
added comments, tests 2023-08-16 19:17:47 +02:00
Anton-4
79ac0cab91
mark broken gui examples 2023-08-01 17:12:21 +02:00
Folkert
ef39bad7c6
auto clippy fixes 2023-07-10 18:27:08 +02:00
Brendan Hansknecht
ccb434bae1
Update cli_run cli_args test
Note: this answer is less correct,
but that is because zigs sub answers are more correct.

Zig specifically gives a more accurate answer for Num.log 3.
old answer:     1.0986122886681098
zig's answer:   1.0986122886681096
correct answer: 1.098612288668109691395

Both answers are technically correct when limited to doubles.
Zig's answer is closer to truly correct.
That said, the more correct answer leads to a slight rounding error in the final division.
So the new output is 4.000000000000001 instead of 4.0
2023-05-31 22:15:05 -07:00
David Smith
051fca2f68
Share stripping of ignorable strings in has_error helper 2023-05-17 10:08:16 -04:00
David Smith
58cb8352bb
Consistent handling of ld chained fixup warning in cli/glue tests 2023-05-16 17:12:13 -04:00
David Smith
d06d0dbf9c
Convert --prebuilt-platform to bool flag
With this change, it's no longer possible to cross-compile to any target
other than wasm.
2023-05-15 10:40:37 -04:00
Richard Feldman
039599da6a
Fix test 2023-05-09 20:20:21 -04:00
Anton-4
49b4d9318d
fixed serial deadlock
Some tests used to require multiple locks and one test acquired lock A but failed to acquire lock B, another test was holding lock B and required lock A. That way you get stuck! I've turned those multiple locks into a bigger shared one, deadlock proof.
2023-04-11 12:11:04 +02:00
Brendan Hansknecht
8ed134607b
use indoc for formatting 2023-04-09 21:20:38 -07:00
Brendan Hansknecht
df9f5a946e
add test case for ingesting as bytes with type hole 2023-04-09 14:03:34 -07:00
Brendan Hansknecht
fdf8bc6094
fix formatting 2023-04-09 14:03:34 -07:00
Brendan Hansknecht
030597c59a
add example use with cli_run test 2023-04-09 14:03:34 -07:00
Richard Feldman
2276c78d9f
Merge pull request #5093 from roc-lang/glue-getters-rtfeldman
Glue for functions and closures
2023-03-21 08:12:19 -04:00
Anton-4
6e0dc30797
fixes, build tar.br now 2023-03-20 16:32:54 +01:00
Anton-4
3eda00cb62
Merge pull request #5144 from lukewilliamboswell/static-site
Add code file import feature for `static-site-gen` platform
2023-03-20 11:16:57 +01:00
Folkert de Vries
bd3982241e
Merge pull request #5036 from roc-lang/tutorial_updates
tutorial: update to basic-cli 0.2.1, fix typos
2023-03-17 11:46:36 +01:00
Brendan Hansknecht
ba804cc382
clippy 2023-03-16 12:25:52 -07:00
Brendan Hansknecht
5cb41cb81d
switch false test case to one that will repro the bug and enable valgrind for it 2023-03-16 12:12:28 -07:00
Luke Boswell
bea3a4f2f7
add static code file import for site gen 2023-03-15 20:59:58 +11:00
Anton-4
fe066e5567
Merge branch 'main' of github.com:roc-lang/roc into tutorial_updates 2023-03-13 19:46:05 +01:00
Anton-4
310321b8ab
lock on parser package 2023-03-13 19:41:33 +01:00
Anton-4
e5aa27d19b
add lock for breakout 2023-03-04 14:11:48 +01:00
Anton-4
f07c126133
lock zig platform building 2023-02-27 18:01:32 +01:00
Anton-4
54a1121bfa
windows: ignore hello test with url 2023-02-18 09:37:58 +01:00
Anton-4
cb599551de
update to basic-cli 0.2.1, fix typos 2023-02-15 19:55:30 +01:00
Anton-4
80885151b6
ignore breakout test on windows 2023-02-13 13:55:05 +01:00
Anton-4
951f01eee0
better name, extra test 2023-01-30 15:54:16 +01:00
Anton-4
1f2b39a521
Merge branch 'main' of github.com:roc-lang/roc into rust1_65 2023-01-23 18:27:33 +01:00