aboutsummaryrefslogtreecommitdiff
path: root/tests/internal
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leaks in type inference testTohei Ichikawa2025-09-241-11/+25
|
* Fix test_proc_group_type_inference.odinTohei Ichikawa2025-09-241-11/+11
|
* Improve type inferencing of literals when calling proc groupsTohei Ichikawa2025-09-151-0/+142
|
* Fix test for global procedure initializationgingerBill2025-08-081-1/+1
|
* Add intrinsics.type_enum_is_contiguous testFourteenBrush2025-07-111-0/+24
|
* Add to `tests/internal`Jeroen van Rijn2025-06-261-0/+34
| | | | Turn repro code into a proper test, and delete superfluous files from Odin root.
* fix global and static anyLaytan Laats2025-05-171-0/+40
| | | | Fixes #4627
* new compiler intrinsics type_integer_to_unsigned,type_integer_to_signed0xrsp2025-05-151-0/+34
|
* fix variable NaN comparisonsLaytan Laats2025-04-301-0/+44
|
* Remove reference to git issuemtarik34b2025-04-151-0/+0
|
* Ensure NaN != any_float_value evaluates to true for constant NaN valuesmtarik34b2025-04-151-21/+35
|
* Fix #5004Jeroen van Rijn2025-04-051-0/+33
| | | | Fixes constant NaN to constant NaN comparisons.
* reorganize tests and handle endianLaytan Laats2025-02-061-5/+117
|
* add tests for abs() on floatsLaytan Laats2025-02-061-0/+56
|
* Add regression test for #4553Gavin2024-12-051-0/+53
| | | | | | | | | | | | This test is definitely imperfect (should have no erroneous failures, only erroneous passes), but should serve as a good smoke test if matrix alignment is ever broken again. Looking at the generated LLVM, there is a bunch of weird choices for alignment chosen that might be worth looking into. It's also worth noting that the failure mode of this test is a #GP exception, which I don't know how well the test runner handles in a larger test corpus.
* fix type switching over internal pointer unionLaytan Laats2024-08-121-0/+24
| | | | Fixes #3947
* fix `specific_union_variant in map_keyed_by_union` not converting to union typeLaytan Laats2024-07-291-0/+20
|
* Use test's random generatorFeoramund2024-06-151-26/+13
| | | | | This removes the `create` calls when a test was only setting up a generator, and it replaces them with `reset` when run in a loop.
* Update `core:math/rand` to use `context.random_generator` and remove `rand.Rand`gingerBill2024-06-151-21/+41
|
* utilize `odin test -all-packages` instead of (make/bat) scripts for running ↵Laytan Laats2024-06-078-43/+10
| | | | tests
* Minor cleanup of makefiles and scriptsAndreas T Jonsson2024-06-051-4/+6
|
* Strip old test runner back out of `internal`, `issues` and `vendor`Jeroen van Rijn2024-06-028-367/+99
|
* Updated makefiles to exclude some tests on BSDsAndreas T Jonsson2024-05-131-2/+4
|
* Enable in MakefileJeroen van Rijn2024-05-121-1/+1
|
* Add 1 more each for < and >Jeroen van Rijn2024-05-121-0/+2
|
* Test string compareJeroen van Rijn2024-05-123-3/+99
| | | | To avoid regression of the bug fixed in f8581537e496e9854a40f07a87543fc1357404fb.
* fix amd64 sysv abi to pass asan everywhereLaytan Laats2024-04-042-1/+66
| | | | | | | | | | | | | | | I verified the PR by running the entire test suite of Odin itself with `-sanitize:address` and also the ols test suite (which caused unique problems before). A test has also been added with some problematic code, Windows seems to have problems with asan in CI or in general so it is not ran there. The LB_ABI_COMPUTE_RETURN_TYPES block has been removed entirely because it was unused, I got pretty confused why it didn't effect anything at first. Fixes #3211
* fix 128 bit int alignment on arm64Laytan Laats2024-04-043-3/+67
| | | | Fixes #2403
* correct newly found vetsLaytan Laats2024-04-031-6/+6
|
* fix hxa test use after free, skip weird pow test failureLaytan Laats2024-02-021-2/+10
|
* Replace `core:*` to `base:*` where appropriategingerBill2024-01-281-1/+1
|
* Delete test artifact.Jeroen van Rijn2023-11-041-0/+0
|
* Work around LLVM idiocy.Jeroen van Rijn2023-11-042-3/+9
|
* Add math.pow2_f{16,32,64}, fast floating point 2^x where x is an integer.Jeroen van Rijn2023-11-043-3/+74
|
* Temporarily disable RTTI test on Windows.Jeroen van Rijn2023-10-312-2/+2
|
* Add test for RTTIJeroen van Rijn2023-10-303-8/+113
|
* Make tests scripts error if a test failsLucas Perlind2023-04-031-1/+1
| | | | | Additionally fixes tests that were found broken because of this.
* Test new map when used as a set.Jeroen van Rijn2022-11-151-0/+117
| | | | map[K]struct{} works fine.
* map tests for Linux and MacJeroen van Rijn2022-11-132-1/+8
|
* map: Add tests for update + delete.Jeroen van Rijn2022-11-131-5/+148
|
* Update tests/internal/build.batJeroen van Rijn2022-11-121-1/+2
|
* Add tests/internal/build.batJeroen van Rijn2022-11-121-0/+2
|
* Add tests for new map implementation.Jeroen van Rijn2022-11-121-0/+122