Lucas Perlind
c59ad24856
Make tests scripts error if a test fails
...
Additionally fixes tests that were found broken because
of this.
2023-04-03 16:49:14 +10:00
Colin Davidson
28f7f57247
manually start merging core_net
2023-03-01 07:58:30 -08:00
gingerBill
c8f05b7c0c
Merge pull request #2269 from Skytrias/luapattern
...
Add lua pattern matching to core:text with tests
2022-12-22 11:08:10 +00:00
Lucas Perlind
f029b4beb1
Add more utility procedures to small array
2022-12-21 13:00:33 +11:00
skytrias
bd3596f012
create lua strlib text package and tests
2022-12-18 23:11:23 +01:00
Jeroen van Rijn
36473b2774
Add test for core:slice.
2022-09-01 18:04:48 +02:00
Jeroen van Rijn
09e1c0fa27
[i18n] Add tests.
2022-04-29 16:19:13 +02:00
Jeroen van Rijn
127b0ba65e
[xml] Enable tests.
2022-04-28 15:46:36 +02:00
Jeroen van Rijn
5e11ad2e1e
Update test paths.
2022-04-26 14:23:23 +02:00
Jeroen van Rijn
a5342a0126
Address edge cases.
2022-04-26 13:14:09 +02:00
Jeroen van Rijn
3d2856db31
Update tests to use new filename generation code.
2022-04-24 14:19:25 +02:00
Jeroen van Rijn
3cab2592c3
Compiler: Add early error for output path being a directory.
...
- Introduce new `Path` type and an array of build paths on the build context.
- Resolve input and output paths/files early (before parsing).
- Error early if inputs are missing or outputs are directories.
- Plumb new file path generation into linker stage instead of its adhoc method.
TODO:
- Remove more adhoc file path generation in parser and linker stage.
- Make intermediate object file generation use new path system.
- Round out and robustify Path helper functions.
2022-04-24 13:37:26 +02:00
gitlost
374e71e9b0
Fix issue #1537 "filepath.split_list requires a trailing separator"
...
Does `make()` with `count + 1` and appends final component (note a
trailing separator will now result in an empty final component)
Adds test "tests/core/path/filepath/test_core_filepath.odin"
2022-03-23 17:44:35 +00:00
gitlost
4f5203e661
Fix some core:encoding/hxa stuff (error handling, header, max -> min)
...
Also add missing f16 case to core:reflect as_u64 & as_f64
Add tests for above & add previous tests missing from test/core/build.bat
2022-03-16 19:12:00 +00:00
Jeroen van Rijn
6d7217f37a
[varint] Add LEB128 decoding + tests
...
Also make tests in general less spammy: Don't print [PASS] for each successful test, only report failures and progress.
2022-03-08 15:40:00 +01:00
NoahR02
817bc7434d
Ports OpenSimplex2 from https://github.com/KdotJPG/OpenSimplex2 to Odin. Adds tests for the noise procedures.
2022-02-08 06:16:10 -05:00
Daniel Gavin
5b074ceee5
Add json encoding test + fix enum not being set on success.
2021-11-07 14:35:52 +01:00
zhibog
77be7144c3
Add crypto library. Additional information is included in the README.md
2021-10-14 22:20:55 +02:00
Daniel Gavin
50ee65ea9e
Make default_parser use the optional_semicolons and add odin parser test.
2021-09-20 20:50:01 +02:00
Jeroen van Rijn
637685316d
Add xxhash tests to CI.
2021-09-09 16:01:44 +02:00
Jeroen van Rijn
e6905f8657
Custom test runner.
2021-09-08 21:17:16 +02:00
Jeroen van Rijn
e831e919a6
Try to address test timeouts.
2021-09-08 14:30:11 +02:00
Jeroen van Rijn
ce2f926ff7
Separate math/big test.
2021-09-07 20:24:02 +02:00
Jeroen van Rijn
fcb23abce4
Tests: Integrate strings into CI.
2021-09-07 19:57:08 +02:00
Jeroen van Rijn
f7601a759b
Move math/big tests under tests/.
2021-09-07 19:51:56 +02:00
Jeroen van Rijn
1ab6a765da
Set relative path for Odin.
2021-09-07 18:30:54 +02:00
Jeroen van Rijn
6954076f15
CI tests for PNG, GZIP + ZLIB.
2021-09-07 18:25:49 +02:00