Commit Graph

389 Commits

Author SHA1 Message Date
Sean Hagstrom
c53f6cf2fe
formatter: remove spaces at the beginning and end of single-line square bracket expressions 2022-05-22 14:06:34 +01:00
Richard Feldman
3212ca3949
Revise error message for Not Found 2022-05-20 11:30:57 -04:00
Richard Feldman
d4d2f04938 gitignore some more stuff in fixtures 2022-05-17 23:12:34 -04:00
Richard Feldman
88a27f2040
Move strip_colors into cli_utils 2022-05-15 22:12:52 -04:00
Richard Feldman
fd40fed937
Fix a bunch of errors from clippy --tests 2022-05-10 15:21:48 -04:00
Folkert
aa19a400cb
Revert "use valgrind again for the closure cli_run test"
This reverts commit f5b9fc06c5.
2022-05-08 14:43:19 +02:00
Folkert
f5b9fc06c5
use valgrind again for the closure cli_run test 2022-05-08 12:16:58 +02:00
Folkert
3e141967bd
Merge remote-tracking branch 'origin/trunk' into update_zig_09 2022-05-07 22:29:43 +02:00
Folkert
0a0e6dfe87
fix multi-dep-str zig host 2022-05-07 19:55:37 +02:00
Richard Feldman
f8100d1ec6
Fix lifetime issue in cli_run 2022-05-06 18:03:22 -04:00
Richard Feldman
1bae95574e
Use more CMD_ constants in cli_run test 2022-05-06 18:03:01 -04:00
Richard Feldman
4a98f7ff0b
Revert "Experiment with multiple input files in CLI tests"
This reverts commit f07ffb58f2.
2022-05-06 17:51:25 -04:00
Richard Feldman
f07ffb58f2
Experiment with multiple input files in CLI tests 2022-05-06 17:51:14 -04:00
Richard Feldman
b64e0b3ce4
Pass input files to roc and roc run in CLI tests 2022-05-06 17:50:58 -04:00
Richard Feldman
7cbde410e5
Simplify some error reporting 2022-05-06 17:50:47 -04:00
Richard Feldman
6f35d1891a
Capture stdin for roc and roc run tests 2022-05-06 17:13:03 -04:00
Richard Feldman
e7ac4dac96
Test roc run and roc in addition to roc build
Also, use constants instead of hardcoded strings.
2022-05-06 17:13:03 -04:00
Folkert
039f76edbd
remove duplicate import 2022-05-01 01:12:51 +02:00
Folkert
b7b86c0cde
Merge remote-tracking branch 'origin/trunk' into update_zig_09 2022-04-30 23:34:48 +02:00
Richard Feldman
061b26e90d
Add breakout to examples under test 2022-04-23 19:45:53 -04:00
Richard Feldman
ed336af17b
Test roc build on breakout example 2022-04-23 15:34:28 -04:00
Richard Feldman
3a0adb1c7e
Merge pull request #2904 from rtfeldman/cli-args
CLI revisions
2022-04-21 12:59:08 -04:00
Jared Cone
66009c4b3c
Updated unit tests 2022-04-20 21:25:11 -07:00
Richard Feldman
6fb8481ebd
Report contents of stderr when example test fails 2022-04-20 20:43:39 -04:00
Richard Feldman
4952f7e9d2
fix cli_run tests 2022-04-20 20:43:39 -04:00
Richard Feldman
e2ea66043a
Add color_reset to StyleCodes 2022-04-20 20:43:39 -04:00
Brian Carroll
9491d5fae9
Merge branch 'trunk' into update_zig_09 2022-04-15 21:17:25 +01:00
Richard Feldman
d5c843a771
Don't use deprecated --roc-linker flag in tests 2022-04-15 12:13:05 -04:00
Richard Feldman
b60235f3af
Change TEST_SURGICAL_LINKER to TEST_LEGACY_LINKER 2022-04-15 12:12:50 -04:00
Richard Feldman
56f97a2edc
Fix some cli_run warnings 2022-04-15 09:24:57 -04:00
Folkert
55e90d135d
disable valgrind for Closure.roc for now 2022-04-08 13:05:43 +02:00
Folkert
dca7f58769
remove some clippy warnings when running tests 2022-04-08 13:02:42 +02:00
Folkert
7ad5cfa26e
fix thunk platform touching uninit memory 2022-04-08 11:07:40 +02:00
Folkert
c6ce18d56c
slighly more information when reporting valgrind problem 2022-04-08 10:49:06 +02:00
Folkert
8141a2012a
make multi-dep examples compile 2022-04-08 10:02:09 +02:00
Folkert
c73c01aa34
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-30 14:07:17 +02:00
Folkert
fb893ebcb0
properly disable the cli example 2022-03-29 19:53:47 +02:00
Folkert
3c96b59265
comment offending cli_run tests; we will revisit after upgrading llvm/zig 2022-03-28 21:01:05 +02:00
SylvanSign
5f73c3e513
fix test runner surgical linker logic for GNU/Linux + ARM 2022-03-27 15:50:24 -04:00
Folkert
0f6e1ab2a2
Revert "disable Closure.roc example"
This reverts commit 8d85e469f7.
2022-03-27 15:29:13 +02:00
Folkert
8d85e469f7
disable Closure.roc example 2022-03-26 21:46:49 +01:00
Folkert
d63009aa4d
add memcpy/memset to hosts that didn't have them 2022-03-26 12:22:48 +01:00
Brian Carroll
9cb6261a4d
Merge pull request #2736 from rtfeldman/wasm-repl-palette
Web REPL error styling
2022-03-18 12:00:44 +00:00
Pierre-Henri Trivier
3e368a64ff Formatter should ignore non roc files
Fixes #2683
2022-03-17 18:55:15 +01:00
Brian Carroll
9fc3c40379 Fix wrong import names 2022-03-17 13:22:40 +00:00
Jan Van Bruggen
0e186631eb Rename hello examples from snake_case to camelCase for consistency 2022-03-07 21:10:19 -07:00
Jan Van Bruggen
589861a88a Re-append newline after "Hello, World!" output
See https://github.com/rtfeldman/roc/pull/2470#discussion_r821295601
(@rtfeldman has "seen some terminals get really unhappy if a program
prints things and doesn't print a newline to stdout before exiting")
2022-03-07 21:06:53 -07:00
Jan Van Bruggen
85c4024eb9 Fix hello-world testing checks with a hacky workaround 2022-03-07 20:10:50 -07:00
Jan Van Bruggen
8a7f65910c Move effects example into interactive/ 2022-03-07 20:10:50 -07:00
Jan Van Bruggen
9d1dcc15c8 Consolidate interactive examples into one dir 2022-03-07 20:10:50 -07:00