Commit Graph

69 Commits

Author SHA1 Message Date
Bärtschi Robin
212004b3ad test_issue_6874: fix formatting 2026-06-24 08:41:29 +02:00
Bärtschi Robin
640a0f2ef4 add test for #6874 2026-06-24 08:35:43 +02:00
ARay
912a45769b fix issue 6853:
when iterating the values of an array literal,if one of the values
is a function with multiple returns, it doesn't offset the struct
field index by the number of values.
2026-06-19 16:52:51 +03:00
ARay
c3b2c9a9b3 add test for the pr 2026-06-18 18:05:54 +03:00
Nikolay Hadzhiev
f91fd92842 gh 6621 2026-04-27 10:28:35 +02:00
Nikolay Hadzhiev
48e83ad003 gh 6594
prevent compiler crash from self-referential global initialisation
2026-04-22 13:14:08 +02:00
k-nrd
2c6c646342 Merge branch 'master' into fix/field-first-writes-into-dynamic-soa 2026-04-09 15:19:11 -03:00
Harold Brenes
7da7bc8456 Add test case for issue #6484 2026-03-26 20:10:24 -04:00
Mortimer Snerd
6aceb7639f Clean up the name of the test file for this PR 2026-03-25 19:55:38 -04:00
Mortimer Snerd
2363f85944 Fix for corner case in the scratch allocator.
The scratch allocator could erroneously return a slice
overlapping previously allocated memory for allocation
requests that were smaller than the arena size, but larger
than the amount of free space left in the arena.

- fix the check in mem::scratch_alloc_bytes_non_zeroed
  that wasn't routing the request to the backup allocator.
- added concrete reproduction test under tests/issues.
2026-03-25 19:33:17 -04:00
Harold Brenes
35b4c42f87 Use odin test for test_pr_6470.odin on windows 2026-03-24 16:07:59 -04:00
Harold Brenes
b66e65e7f8 Rename temp test name given PR number 2026-03-24 15:40:29 -04:00
Harold Brenes
7a017d2ecd Add test case for implicit cast pointer to offset zero subtype field proc param 2026-03-24 15:37:04 -04:00
bymehul
763c8d3a42 Fix generic cycle deadlock in struct layout 2026-03-11 03:04:26 +05:30
bymehul
c9e55d3add fix: handle full-width bit_field literal masks 2026-03-10 23:21:19 +05:30
Louis Novy
7732a78c08 harden run.bat and add missing test_issue_2395 2026-03-01 21:33:14 -08:00
Louis Novy
1a27af515f add test file 2026-03-01 21:18:30 -08:00
Louis Novy
e3d6fe72f8 fix broken bit_set parapoly specialization #6240 2026-03-01 20:58:43 -08:00
Gustavo Konrad
f82d41bc9a fix #6344: field-first index writes on #soa[dynamic]T and #soa[]T 2026-02-28 12:33:57 -03:00
Jeroen van Rijn
1c529d8cb2 Fix #6165 2026-01-24 14:06:31 +01:00
CJ
55f3a45322 Update run.bat and run.sh 2026-01-24 01:30:15 +09:00
CJ
89f6f535db Fix string16 bugs in Mac and Linux 2026-01-24 01:26:36 +09:00
ske
91c1950b9f Fix constant conversion checks (#6104) 2026-01-07 02:19:41 -03:00
ske
e4bf5476c3 Fix literal endianness (fix #6068) 2025-12-30 22:08:40 -03:00
Jeroen van Rijn
c04c6dfcc6 Add -ignore-unused-defineables to tests/issues. 2025-12-04 15:52:48 +01:00
miere43
29019d7138 Fix duplicate code emission in type assertions. 2025-12-03 21:27:38 +03:00
Feoramund
7022ad8378 Add test for issue #3435 2025-06-19 19:54:12 -04:00
Feoramund
d7e98ba82a Add test for issue #2694 2025-06-15 12:34:15 -04:00
Feoramund
36b41ce163 Let compound literal array be broadcast to a struct field of arrays
Fixes #4364

Patch courtesy of @cribalik
2025-06-05 07:48:10 -04:00
Jeroen van Rijn
82dfb43663 Fix #5265 2025-06-03 11:18:11 +02:00
Laytan Laats
f94fc992d7 fix swizzle in for in statement
Fixes #1730
2025-06-02 20:30:48 +02:00
Laytan Laats
478c923e2c fix another type alias issue with mini cycle 2025-05-26 19:48:28 +02:00
Laytan Laats
d2f8cb1306 adds the cases of #5043 and #5097 to the CI 2025-04-30 20:13:21 +02:00
gingerBill
a3b4280cf7 Merge pull request #4633 from spahnke/fix-matrix-adjugate
Fix matrix adjugate
2025-01-06 09:36:18 +00:00
gingerBill
5df699abf2 Add #+feature dynamic-literals to test 2025-01-05 14:03:08 +00:00
Sebastian Pahnke
b21fc19233 Add regression tests for inverse_transpose 2024-12-28 10:29:44 +01:00
Sebastian Pahnke
ec5ee19c01 Add regression tests for matrix inverse 2024-12-28 10:29:44 +01:00
Sebastian Pahnke
02a9d8560f Test symmetry 2024-12-28 10:29:44 +01:00
Sebastian Pahnke
0d955e55db Add tests for determinants because their calculation depends on the adjugate 2024-12-28 10:29:43 +01:00
Sebastian Pahnke
e8a202f0a2 Add tests for glsl and hlsl variants 2024-12-28 10:29:43 +01:00
Sebastian Pahnke
8a91e0bb19 Add regression tests reproducing the issue 2024-12-28 10:29:43 +01:00
Jeroen van Rijn
c4c2282595 Update 4210 test to use unaligned_load. 2024-09-07 14:05:56 +02:00
Jeroen van Rijn
d2202416d2 Add test for #4210 2024-09-07 13:43:19 +02:00
Laytan Laats
e627fcb0e6 fix not printing Error: when terminal has no color support 2024-06-07 16:58:23 +02:00
Laytan Laats
29250f2657 fix regression in test_issue_2395 2024-06-07 16:33:38 +02:00
Laytan Laats
0a528777e8 utilize odin test -all-packages instead of (make/bat) scripts for running tests 2024-06-07 15:50:00 +02:00
Andreas T Jonsson
f0e98372fb Minor cleanup of makefiles and scripts 2024-06-05 15:37:02 +02:00
Feoramund
c656a9e4cd Fix and subsume test_issue_2087 into strconv test suite
The full "infinity" strings were expected to be partial consumes, but
this is not the case. That has been fixed and the relevant extra tests
from that file have been added to this test suite.

Fixes #2670
2024-06-04 14:23:48 -04:00
Jeroen van Rijn
60d0c03134 Strip old test runner back out of internal, issues and vendor 2024-06-02 21:15:25 +02:00
Feoramund
890fe07c6e Disable FANCY_OUTPUT in Odin test scripts
This should tidy up the CI output logs a bit.
2024-06-02 14:54:32 -04:00