| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | | | | | Update ci.yml | Jeroen van Rijn | 2024-06-02 | 1 | -0/+7 | |
| | | | | | | | ||||||
| | * | | | | | Update ci.yml | Jeroen van Rijn | 2024-06-02 | 1 | -7/+0 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Disable benchmark on Windows for a moment. | |||||
| | * | | | | | Update CI | Jeroen van Rijn | 2024-06-02 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | Factor benchmarks out into tests\benchmark\<pkg> | Jeroen van Rijn | 2024-06-02 | 6 | -581/+615 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\net` | Jeroen van Rijn | 2024-06-02 | 3 | -195/+85 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\thread` | Jeroen van Rijn | 2024-06-02 | 5 | -129/+14 | |
| | | | | | | | ||||||
| | * | | | | | Port `testing\core\time` | Jeroen van Rijn | 2024-06-02 | 3 | -80/+94 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\strings` | Jeroen van Rijn | 2024-06-02 | 3 | -64/+26 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\slice` | Jeroen van Rijn | 2024-06-02 | 3 | -99/+41 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\runtime` | Jeroen van Rijn | 2024-06-02 | 1 | -38/+5 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\reflect` | Jeroen van Rijn | 2024-06-02 | 3 | -57/+36 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\odin` | Jeroen van Rijn | 2024-06-02 | 4 | -44/+22 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\text\match` | Jeroen van Rijn | 2024-06-02 | 3 | -101/+71 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\math`, `math\linalg\glsl` and `math\noise` | Jeroen van Rijn | 2024-06-02 | 5 | -313/+180 | |
| | | | | | | | ||||||
| | * | | | | | Port `testing\core\text\i18n` | Jeroen van Rijn | 2024-06-02 | 4 | -111/+74 | |
| | | | | | | | ||||||
| | * | | | | | Port `testing\core\hash` | Jeroen van Rijn | 2024-06-02 | 4 | -272/+262 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\fmt` | Jeroen van Rijn | 2024-06-02 | 3 | -43/+22 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\path\filepath` | Jeroen van Rijn | 2024-06-02 | 3 | -44/+41 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\encoding\xml` | Jeroen van Rijn | 2024-06-02 | 3 | -138/+86 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Made them run in parallel as well. | |||||
| | * | | | | | Port `tests\core\encoding\varint` | Jeroen van Rijn | 2024-06-02 | 3 | -62/+26 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\encoding\json` | Jeroen van Rijn | 2024-06-02 | 6 | -108/+67 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\encoding\hxa` | Jeroen van Rijn | 2024-06-02 | 5 | -154/+125 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | And fix a few leaks in `core:encoding/hxa` while at it. | |||||
| | * | | | | | Port `tests\encoding\hex` | Jeroen van Rijn | 2024-06-02 | 3 | -57/+50 | |
| | | | | | | | ||||||
| | * | | | | | Port `tests\core\c\libc` | Jeroen van Rijn | 2024-06-02 | 4 | -45/+13 | |
| | | | | | | | ||||||
| | * | | | | | Remove unneeded import | Feoramund | 2024-06-02 | 1 | -1/+0 | |
| | | | | | | | ||||||
| | * | | | | | Support deterministic random seeding of tests | Feoramund | 2024-06-02 | 2 | -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 Rijn | 2024-06-02 | 11 | -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 width | Jeroen van Rijn | 2024-06-02 | 2 | -46/+45 | |
| | | | | | | | ||||||
| | * | | | | | Support `ODIN_TEST_PROGRESS_WIDTH=0` | Feoramund | 2024-06-02 | 1 | -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 issue | Feoramund | 2024-06-02 | 1 | -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 default | Feoramund | 2024-06-02 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | Be specific about `int` size for `Rollback_Stack` asserts | Feoramund | 2024-06-02 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | This should fix tests failing on 32-bit platforms. | |||||
| | * | | | | | Update -define for `crypto` | Jeroen van Rijn | 2024-06-02 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | Change test runner options to `SCREAMING_SNAKE_CASE` | Feoramund | 2024-06-02 | 4 | -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` | Feoramund | 2024-06-02 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | Send terminal control code to `STDOUT` instead | Feoramund | 2024-06-02 | 1 | -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 line | Feoramund | 2024-06-02 | 2 | -2/+12 | |
| | | | | | | | ||||||
| | * | | | | | Combine multi-line attributes onto one line | Feoramund | 2024-06-02 | 1 | -14/+7 | |
| | | | | | | | ||||||
| | * | | | | | Remove `safe_heap_allocator` from test runner | Feoramund | 2024-06-02 | 1 | -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 offset | Feoramund | 2024-06-02 | 1 | -1/+5 | |
| | | | | | | | ||||||
| | * | | | | | Use plain sort for `internal_tests` | Feoramund | 2024-06-02 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | Add more sanity checking to `mem.Rollback_Stack` | Feoramund | 2024-06-02 | 1 | -5/+26 | |
| | | | | | | | ||||||
| | * | | | | | Use `uintptr` where applicable in `mem.Rollback_Stack` | Feoramund | 2024-06-02 | 1 | -15/+15 | |
| | | | | | | | ||||||
| | * | | | | | Fix indentation | Feoramund | 2024-06-02 | 1 | -1/+1 | |
| | | | | | | | ||||||
| | * | | | | | Update `tests\core\crypto` | Jeroen van Rijn | 2024-06-02 | 11 | -576/+354 | |
| | | | | | | | ||||||
| | * | | | | | Update `core:container` tests | Jeroen van Rijn | 2024-06-02 | 6 | -140/+120 | |
| | | | | | | | ||||||
| | * | | | | | Update `core:compress` tests | Jeroen van Rijn | 2024-06-02 | 3 | -87/+18 | |
| | | | | | | | ||||||
| | * | | | | | Delete duplicated flag. | Jeroen van Rijn | 2024-06-02 | 1 | -2/+2 | |
| | | | | | | | ||||||
| | * | | | | | Update `core:image` tests to use new runner. | Jeroen van Rijn | 2024-06-02 | 4 | -193/+118 | |
| | | | | | | | ||||||
| | * | | | | | Get tests passing again | Feoramund | 2024-06-02 | 3 | -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. | |||||