Commit graph

200 commits

Author SHA1 Message Date
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
Ayaz Hafiz
f6da8275ec
Record changed variables if any nested variable has changed
When we unify variables in mono, we must invalidate the sections of the
layout cache reached by those variables. Previously we did this by
recording changed variables as those that were `merge`d. However this is
not enough; we must also record all the parent types they came from. The
reason is we may have something like

```
Alias (Foo, a) ~ Alias (Bar, U8)
```

where we will merge `a = U8` but we do not merge the aliases.

Closes #4919
2023-01-21 12:37:21 -06:00
Anton-4
1f7e8d58a6
only run letter parser on ubu CI 2023-01-20 16:42:37 +01:00
Anton-4
8b14aec0f5
Merge branch 'main' of github.com:roc-lang/roc into rust1_65 2023-01-18 19:26:59 +01:00
Anton-4
c9a0664023
Merge remote-tracking branch 'upstream/main' into parser-package 2023-01-18 19:21:27 +01:00
Ayaz Hafiz
f58fb42d2b
Ignore gui test for now 2023-01-18 10:16:25 -06:00
Luke Boswell
d14d410153
added basic parsing example to ci 2023-01-18 13:49:38 +01:00
Luke Boswell
6790848be5
remove redundant zig platform, fix tests 2023-01-18 12:52:19 +01:00
Anton-4
88f218d24f
clippy fixes after merge 2023-01-17 18:24:38 +01:00
Anton-4
bbf35af8fa
Merge branch 'main' into rust1_65
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2023-01-17 18:14:30 +01:00
Anton-4
a97c53d7ca
1.65 changes and clippy fixes 2023-01-17 18:09:16 +01:00