Commit graph

497 commits

Author SHA1 Message Date
Brian Teague
60c639b60e
Consolidate gitignore
Keep certain files with no file extension

Keep specific files with no file extension

Delete all gitignore files
2024-01-10 22:16:04 -05:00
Anton-4
861e50a5f4
fmt, test fix 2023-12-27 16:16:09 +01:00
Anton-4
3210e87815
fixed filenames 2023-12-27 15:58:03 +01:00
Anton-4
52133e2d21
keep ingested_file_bytes result the same on import changes 2023-12-23 18:44:36 +01:00
Anton-4
cf96010543
update to basic-cli 0.7.1 2023-12-23 16:54:59 +01:00
Brendan Hansknecht
e8d2deca90
fix off by one in roc_dbg 2023-12-03 08:22:04 -08:00
Brendan Hansknecht
f4fceb232c
fix test after rebase on main 2023-12-02 21:21:10 -08:00
Brendan Hansknecht
787d7f85ac
switch dbg arg ordering to make it backwards compatible 2023-12-02 21:18:32 -08:00
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
13d2238536
update roc_dbg in platforms 2023-12-02 21:18:31 -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
3e66254b25
update zig and rust platforms to have correct roc_panic and roc_dbg 2023-11-29 21:49:34 -08: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
Luke Boswell
3c9a8e5e4c
ignore build artifacts 2023-11-03 16:42:27 +11: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
e25be01ccd
Update .gitignores 2023-10-19 22:04:14 -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
99cfd1fe92
removed editor, ast, markup crate 2023-09-11 16:40:52 +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
4f97ab2965
remove old compiler-rt workarounds for macos 2023-06-24 17:27:11 -07:00
Brendan Hansknecht
75a035e12d
remove all definitions of roc_memcpy 2023-06-02 15:23:05 -07: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
Brendan Hansknecht
0e24403664
enable using other zig libaries in host instead of just str.zig 2023-04-25 14:14:35 -07: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