aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | [tests/core/image] Remove old crappy PPM writer.Jeroen van Rijn2022-04-301-201/+0
| |
* | [pbm] Also test PFM formats.Jeroen van Rijn2022-04-301-14/+95
| |
* | Merge branch 'master' into pr/1726Jeroen van Rijn2022-04-301-1/+1
|\ \
| * | [xml] Add `parse_from_string` overload.Jeroen van Rijn2022-04-301-1/+1
| | | | | | | | | | | | | | | `parse` now takes either a `[]u8` slice or a string. `load_from_file` takes a path string.
* | | [pbm] Fixes.Jeroen van Rijn2022-04-301-42/+44
| | |
* | | [pbm] WIP unit tests. part deux.Jeroen van Rijn2022-04-301-2/+26
| | |
* | | [pbm] WIP unit tests.Jeroen van Rijn2022-04-301-15/+43
| | |
* | | [pbm] Normalize some errors, correct .depthJeroen van Rijn2022-04-301-6/+6
|/ /
* | [i18n] Enable *nix tests again.Jeroen van Rijn2022-04-291-1/+1
| |
* | Disable i18n test for *nix for now.Jeroen van Rijn2022-04-291-1/+1
| |
* | [i18n] Enable i18n test on Linux.Jeroen van Rijn2022-04-291-2/+5
| |
* | [i18n] Fix segfault on destroy on LinuxJeroen van Rijn2022-04-291-9/+9
| | | | | | | | Forgot to intern the section string in QT TS loader.
* | [i18n] Add tests.Jeroen van Rijn2022-04-294-3/+196
| |
* | [i18n/xml] Move I18N XML files to their own assets directory.Jeroen van Rijn2022-04-297-22/+74
| |
* | [i18n] QT Linguist TS reader.Jeroen van Rijn2022-04-291-26/+26
| |
* | [xml] Enable tests.Jeroen van Rijn2022-04-282-7/+24
| |
* | [xml] Speedup.Jeroen van Rijn2022-04-281-8/+9
| |
* | Merge branch 'master' into xmlJeroen van Rijn2022-04-271-15/+18
|\ \
| * | Move Odin CI test assets over to its own repository.Jeroen van Rijn2022-04-271-15/+18
| | |
* | | Merge branch 'master' into xmlJeroen van Rijn2022-04-2736-172/+2784
|\| |
| * | Update CI for math library.Jeroen van Rijn2022-04-261-1/+1
| | |
| * | Update test paths.Jeroen van Rijn2022-04-266-46/+46
| | |
| * | Address edge cases.Jeroen van Rijn2022-04-267-43/+44
| | |
| * | Update tests to use new filename generation code.Jeroen van Rijn2022-04-246-54/+53
| | |
| * | Compiler: Allow -out: to not have an extension on *nix for executables (only).Jeroen van Rijn2022-04-242-3/+3
| | |
| * | Compiler: Add early error for output path being a directory.Jeroen van Rijn2022-04-243-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.
| * | [compress/shoco] Add short string compressor.Jeroen van Rijn2022-04-225-1/+177
| | |
| * | [json/unmarshal] Fix quoted strings.Jeroen van Rijn2022-04-191-9/+11
| | |
| * | Add JSON unmarshal test.Jeroen van Rijn2022-04-191-0/+253
| | |
| * | Delete accidentally added test artefact.Jeroen van Rijn2022-04-181-0/+0
| | |
| * | Add uleb128 byte-at-a-time decoder.Jeroen van Rijn2022-04-162-1/+1
| | |
| * | [QOI] Add support for RGB images (previously loader always output RGBA).Jeroen van Rijn2022-04-121-5/+29
| | | | | | | | | | | | Also add QOI to CI test suite by roundtripping 8-bit RGB(A) through QOI and checking the hashes match.
| * | [image] Add QOI load/save.Jeroen van Rijn2022-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Additionally: - Firm up PNG loader with some additional checks. - Add helper functions to `core:image` to expand grayscale to RGB(A), and so on. TODO: Possibly replace PNG's post-processing steps with calls to the new helper functions.
| * | -file for tests\issues.Jeroen van Rijn2022-04-052-4/+4
| | |
| * | Add -help to CI tests.Jeroen van Rijn2022-04-051-9/+9
| | |
| * | [math/big] Tell Python test runner how many nails we use.Jeroen van Rijn2022-04-013-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `_DIGIT_NAILS` is defined as 4, meaning that we use 60 out of every 64 bits. We can use as few as 1 nail, using 63 bits out of every 64, and all tests will still pass. However, it needs more testing to see if that's a worthwhile change to make. For the tests to work properly when changing the nails, Python needs to know about it as well. In addition, compile the big math code with `-o:speed` going forward.
| * | [windows] Fix leak in `glob`.Jeroen van Rijn2022-03-291-1/+1
| | |
| * | [strings] Improve `cut`, add tests for it.Jeroen van Rijn2022-03-271-1/+28
| | |
| * | Use `WIFEXITED()` and `WEXITSTATUS()` on Unix `system()` exit codegitlost2022-03-242-1/+14
| | | | | | | | | | | | | | | (ensures Odin run returns correct exit code of built executable) Adds test "tests/core/os/test_core_os_exit.odin" (Unix only)
| * | Fix testgingerBill2022-03-241-1/+1
| | |
| * | Fix issue #1537 "filepath.split_list requires a trailing separator"gitlost2022-03-233-1/+132
| | | | | | | | | | | | | | | | | | 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"
| * | Fix issue #829 "Compiler crashes when declaring maps with procedure"gitlost2022-03-233-0/+68
| | | | | | | | | | | | | | | | | | Inits `o->value` in `check_expr_base_internal()` so doesn't accidentally use last (the proc lit was being set to that of previous string) Adds test to "tests/issues" and changes CI to use new "run" shells
| * | Merge pull request #1626 from gitlost/hxa_fixesgingerBill2022-03-226-3/+578
| |\ \ | | | | | | | | Fix some core:encoding/hxa stuff (error handling, header, max -> min)
| | * | Fix some core:encoding/hxa stuff (error handling, header, max -> min)gitlost2022-03-166-3/+578
| | | | | | | | | | | | | | | | | | | | 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
| * | | Fix issue #1592 "LLVM code gen error when using a constant in an if"gitlost2022-03-181-0/+489
| |/ / | | | | | | | | | | | | | | | | | | Changes lb_build_if_stmt() to return null lbValue if condition is cmpAnd, cmpOr or non-const neg and check in lb_build_if_stmt() to avoid short circuiting if that's the case Adds test to "tests/issues" and adds step in CI to check this dir
| * | Remove accidentally committed test binary.Jeroen van Rijn2022-03-141-0/+0
| | |
| * | Merge branch 'master' into fract_trunc_classify_#1574gitlost2022-03-0913-1026/+1169
| |\ \ | | | | | | | | | | | | Resolve conflicts with [9848e88] & sameify Makefile & tests/common/common.odin
| | * | tabs.Jeroen van Rijn2022-03-081-5/+5
| | | |
| | * | [varint] Add additional LEB128 tests.Jeroen van Rijn2022-03-081-7/+55
| | | |
| | * | [varint] Add signed LEB128 encoding.Jeroen van Rijn2022-03-081-10/+37
| | | |