aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Update ci.ymlJeroen van Rijn2024-06-021-0/+7
| | | | | |
| * | | | | Update ci.ymlJeroen van Rijn2024-06-021-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | Disable benchmark on Windows for a moment.
| * | | | | Update CIJeroen van Rijn2024-06-021-1/+1
| | | | | |
| * | | | | Factor benchmarks out into tests\benchmark\<pkg>Jeroen van Rijn2024-06-026-581/+615
| | | | | |
| * | | | | Port `tests\core\net`Jeroen van Rijn2024-06-023-195/+85
| | | | | |
| * | | | | Port `tests\core\thread`Jeroen van Rijn2024-06-025-129/+14
| | | | | |
| * | | | | Port `testing\core\time`Jeroen van Rijn2024-06-023-80/+94
| | | | | |
| * | | | | Port `tests\core\strings`Jeroen van Rijn2024-06-023-64/+26
| | | | | |
| * | | | | Port `tests\core\slice`Jeroen van Rijn2024-06-023-99/+41
| | | | | |
| * | | | | Port `tests\core\runtime`Jeroen van Rijn2024-06-021-38/+5
| | | | | |
| * | | | | Port `tests\core\reflect`Jeroen van Rijn2024-06-023-57/+36
| | | | | |
| * | | | | Port `tests\core\odin`Jeroen van Rijn2024-06-024-44/+22
| | | | | |
| * | | | | Port `tests\core\text\match`Jeroen van Rijn2024-06-023-101/+71
| | | | | |
| * | | | | Port `tests\core\math`, `math\linalg\glsl` and `math\noise`Jeroen van Rijn2024-06-025-313/+180
| | | | | |
| * | | | | Port `testing\core\text\i18n`Jeroen van Rijn2024-06-024-111/+74
| | | | | |
| * | | | | Port `testing\core\hash`Jeroen van Rijn2024-06-024-272/+262
| | | | | |
| * | | | | Port `tests\core\fmt`Jeroen van Rijn2024-06-023-43/+22
| | | | | |
| * | | | | Port `tests\core\path\filepath`Jeroen van Rijn2024-06-023-44/+41
| | | | | |
| * | | | | Port `tests\core\encoding\xml`Jeroen van Rijn2024-06-023-138/+86
| | | | | | | | | | | | | | | | | | | | | | | | Made them run in parallel as well.
| * | | | | Port `tests\core\encoding\varint`Jeroen van Rijn2024-06-023-62/+26
| | | | | |
| * | | | | Port `tests\core\encoding\json`Jeroen van Rijn2024-06-026-108/+67
| | | | | |
| * | | | | Port `tests\core\encoding\hxa`Jeroen van Rijn2024-06-025-154/+125
| | | | | | | | | | | | | | | | | | | | | | | | And fix a few leaks in `core:encoding/hxa` while at it.
| * | | | | Port `tests\encoding\hex`Jeroen van Rijn2024-06-023-57/+50
| | | | | |
| * | | | | Port `tests\core\c\libc`Jeroen van Rijn2024-06-024-45/+13
| | | | | |
| * | | | | Remove unneeded importFeoramund2024-06-021-1/+0
| | | | | |
| * | | | | Support deterministic random seeding of testsFeoramund2024-06-022-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new option `ODIN_TEST_RANDOM_SEED` which is picked from the cycle counter at startup, if it's not specified by the user. This number is sent to every test in the `T` struct and reset every test (just in case).
| * | | | | Update `tests\core\encoding\cbor` to use new test runner.Jeroen van Rijn2024-06-0211-420/+323
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was leaky and required a substantial number of `loc := #caller_location` additions to parts of the core library to make it easier to track down how and where it leaked. The tests now run fine multi-threaded.
| * | | | | Update using new defaults for memory + reporting widthJeroen van Rijn2024-06-022-46/+45
| | | | | |
| * | | | | Support `ODIN_TEST_PROGRESS_WIDTH=0`Feoramund2024-06-021-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will automatically calculate how wide the progress bars should be based on the package with the greatest number of tests. The progress width is now capped to 100.
| * | | | | Report test memory usage only if there's an issueFeoramund2024-06-021-11/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds new option `ODIN_TEST_ALWAYS_REPORT_MEMORY`, for when you always want to see the memory usage report.
| * | | | | Track memory in the test runner by defaultFeoramund2024-06-021-1/+1
| | | | | |
| * | | | | Be specific about `int` size for `Rollback_Stack` assertsFeoramund2024-06-021-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | This should fix tests failing on 32-bit platforms.
| * | | | | Update -define for `crypto`Jeroen van Rijn2024-06-021-1/+1
| | | | | |
| * | | | | Change test runner options to `SCREAMING_SNAKE_CASE`Feoramund2024-06-024-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit also changes the name of `test_select` to `ODIN_TEST_NAMES`, to better conform with the already-existing `-test-name:<name>` option.
| * | | | | Fix missing `-` for define in `tests/core/build.bat`Feoramund2024-06-021-1/+1
| | | | | |
| * | | | | Send terminal control code to `STDOUT` insteadFeoramund2024-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `STDERR` might be redirected, and this code signals to the terminal to show the cursor again. Otherwise, the cursor will be invisible.
| * | | | | Fix ANSI redraw eating last log lineFeoramund2024-06-022-2/+12
| | | | | |
| * | | | | Combine multi-line attributes onto one lineFeoramund2024-06-021-14/+7
| | | | | |
| * | | | | Remove `safe_heap_allocator` from test runnerFeoramund2024-06-021-9/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I was under the impression that the default `context.allocator` was not thread-safe, but I've been told that this is not the case.
| * | | | | Forbid singleton allocations from shrinking their block offsetFeoramund2024-06-021-1/+5
| | | | | |
| * | | | | Use plain sort for `internal_tests`Feoramund2024-06-021-1/+1
| | | | | |
| * | | | | Add more sanity checking to `mem.Rollback_Stack`Feoramund2024-06-021-5/+26
| | | | | |
| * | | | | Use `uintptr` where applicable in `mem.Rollback_Stack`Feoramund2024-06-021-15/+15
| | | | | |
| * | | | | Fix indentationFeoramund2024-06-021-1/+1
| | | | | |
| * | | | | Update `tests\core\crypto`Jeroen van Rijn2024-06-0211-576/+354
| | | | | |
| * | | | | Update `core:container` testsJeroen van Rijn2024-06-026-140/+120
| | | | | |
| * | | | | Update `core:compress` testsJeroen van Rijn2024-06-023-87/+18
| | | | | |
| * | | | | Delete duplicated flag.Jeroen van Rijn2024-06-021-2/+2
| | | | | |
| * | | | | Update `core:image` tests to use new runner.Jeroen van Rijn2024-06-024-193/+118
| | | | | |
| * | | | | Get tests passing againFeoramund2024-06-023-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `T` no longer has a writer assigned to it. `test_core_cbor.odin` has global state and is run with `odin test`, so I've set it to use only one thread.