aboutsummaryrefslogtreecommitdiff
path: root/tests/core/build.bat
Commit message (Collapse)AuthorAgeFilesLines
* utilize `odin test -all-packages` instead of (make/bat) scripts for running ↵Laytan Laats2024-06-071-124/+0
| | | | tests
* Add initial test suite for `core:strconv`Feoramund2024-06-041-0/+5
|
* Disable `FANCY_OUTPUT` in Odin test scriptsFeoramund2024-06-021-1/+1
| | | | This should tidy up the CI output logs a bit.
* Port `tests\core\net`Jeroen van Rijn2024-06-021-1/+1
|
* Port `tests\core\thread`Jeroen van Rijn2024-06-021-2/+1
|
* Port `testing\core\time`Jeroen van Rijn2024-06-021-1/+1
|
* Port `tests\core\strings`Jeroen van Rijn2024-06-021-1/+1
|
* Port `tests\core\slice`Jeroen van Rijn2024-06-021-1/+1
|
* Port `tests\core\reflect`Jeroen van Rijn2024-06-021-2/+2
|
* Port `tests\core\odin`Jeroen van Rijn2024-06-021-1/+1
|
* Port `tests\core\text\match`Jeroen van Rijn2024-06-021-0/+5
|
* Port `tests\core\math`, `math\linalg\glsl` and `math\noise`Jeroen van Rijn2024-06-021-3/+3
|
* Port `testing\core\text\i18n`Jeroen van Rijn2024-06-021-5/+5
|
* Port `testing\core\hash`Jeroen van Rijn2024-06-021-1/+1
|
* Port `tests\core\fmt`Jeroen van Rijn2024-06-021-1/+1
|
* Port `tests\core\path\filepath`Jeroen van Rijn2024-06-021-5/+5
|
* Port `tests\core\encoding\xml`Jeroen van Rijn2024-06-021-1/+1
| | | | Made them run in parallel as well.
* Port `tests\core\encoding\varint`Jeroen van Rijn2024-06-021-1/+1
|
* Port `tests\core\encoding\json`Jeroen van Rijn2024-06-021-1/+1
|
* Port `tests\core\encoding\hxa`Jeroen van Rijn2024-06-021-1/+1
| | | | And fix a few leaks in `core:encoding/hxa` while at it.
* Port `tests\core\c\libc`Jeroen van Rijn2024-06-021-0/+5
|
* Update `tests\core\encoding\cbor` to use new test runner.Jeroen van Rijn2024-06-021-6/+6
| | | | | | 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-021-6/+6
|
* Change test runner options to `SCREAMING_SNAKE_CASE`Feoramund2024-06-021-6/+6
| | | | | 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
|
* Update `tests\core\crypto`Jeroen van Rijn2024-06-021-1/+1
|
* Update `core:container` testsJeroen van Rijn2024-06-021-1/+1
|
* Update `core:compress` testsJeroen van Rijn2024-06-021-1/+1
|
* Update `core:image` tests to use new runner.Jeroen van Rijn2024-06-021-2/+2
|
* Get tests passing againFeoramund2024-06-021-1/+1
| | | | | | | `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.
* Add `core:container/rbtree`Jeroen van Rijn2024-05-231-41/+36
| | | | | | | | Add a red-black tree with configurable $Key and $Value. Also includes tests that verify it maintains RB invariants, doesn't leak. Originally based on the CC0 implementation from literateprograms.org. But reworked to the same API used by @Yawning's excellent `core:container/avl` for ease of use.
* Enable core:fmt tests.dev-2024-05Jeroen van Rijn2024-05-101-1/+6
|
* Merge pull request #3045 from laytan/cborgingerBill2024-04-151-0/+3
|\ | | | | encoding/cbor
| * encoding/base64: add decode_into, add testsLaytan Laats2024-03-041-0/+2
| |
| * encoding/cbor: initial package implementationLaytan Laats2024-03-041-0/+1
| |
* | Fix test label.Jeroen van Rijn2024-03-181-1/+1
| |
* | Add WiP datetime package and tests.Jeroen van Rijn2024-03-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | A new package `core:time/datetime` has been added which can represent moments much further in the past and future than `core:time`. It is based on *the* reference work on the subject, Calendrical Calculations Ultimate Edition, Reingold & Dershowitz. More procedures will be added to it in the future, to for example calculate the 3rd Thursday in March to figure out holidays. The package has been tested for more than a year and can handle dates 25 quadrillion years into the past and future with 64-bit day ordinals, or 5 million with 32-bit ones. This also fixes a longstanding bug where converting between YYYY-MM:DD hh:mm:ss and `time.Time` and back could result in a mismatch. RFC 3339 timestamps can now also be parsed using the `core:time` package.
* | tests/core/crypto: Use the `tests/common` boilerplateYawning Angel2024-03-041-1/+1
|/
* tests/core/crypto: ReorganizeYawning Angel2024-02-071-2/+2
| | | | | | | All of our crypto is modern now unless exiled to the legacy sub-package, so move the test cases for the currently un-unified algorithms into the main test driver file, and rename the benchmark driver to reflect reality.
* Update core:encoding to Unicode 15.1 table.Jeroen van Rijn2024-01-021-102/+102
|
* add failing test for runtime arena edge caseLaytan Laats2023-12-181-0/+5
|
* Binary search improvementsHector2023-11-251-0/+5
| | | | | | | | Modified the algorithm so that the index is either the location of the element if found or the index at which to insert the element to maintain sorted order. Also added some tests to verify the above claim.
* Allow larger thread poly dataLaytan Laats2023-11-151-0/+5
| | | | | | | | The poly data currently has the restriction of being less than a pointer's size, but there is much more space in the `Thread.user_args` array which can be utilized, this commit allows you to pass types that are larger than pointer length as long as the total size of the poly data is less than that of the `Thread.user_args`.
* Make tests scripts error if a test failsLucas Perlind2023-04-031-24/+19
| | | | | Additionally fixes tests that were found broken because of this.
* manually start merging core_netColin Davidson2023-03-011-0/+5
|
* Merge pull request #2269 from Skytrias/luapatterngingerBill2022-12-221-0/+5
|\ | | | | Add lua pattern matching to core:text with tests
| * create lua strlib text package and testsskytrias2022-12-181-0/+5
| |
* | Add more utility procedures to small arrayLucas Perlind2022-12-211-1/+6
|/
* Add test for core:slice.Jeroen van Rijn2022-09-011-1/+6
|
* [i18n] Add tests.Jeroen van Rijn2022-04-291-1/+6
|