mlugg
7d54c62c8a
incremental: fix adding/removing aggregate fields
...
I don't recall why I put these checks here -- they aren't correct. We
can freely recreate a type even if its fields have changed, because we
are going to re-do all type resolution.
The only conditions for recreations are (a) the ZIR index must not be
lost and (b) the number of captures must be the same. These conditions
are permissible because if either is violated, we can guarantee that
analysis of a valid `zirStructDecl` (etc) will never reference this
type (since the ZIR index has just been tracked, and the captures have
just been created based on the ZIR).
Adds a corresponding test case.
Resolves : #21185
2024-08-24 20:30:52 +01:00
mlugg
a99ad52b36
Sema: register correct dependencies for inline calls
...
And add a corresponding test case.
2024-08-21 01:30:46 +01:00
mlugg
2fb78430db
test: remove accidental hard tab
2024-08-21 01:30:46 +01:00
mlugg
ceb76b2ba7
test: add incremental compilation test for moving @src() call
2024-08-21 01:30:46 +01:00
mlugg
a239d8d4e2
test: add incremental case
2024-08-18 18:10:59 +01:00
mlugg
1ccbc6ca20
test: add new incremental test
...
This case is adapted from #11344 , and passes with `-fno-emit-bin`.
Resolves : #11344
2024-08-17 18:50:10 -04:00
mlugg
936a79f428
tools,test: improve incr-check and add new incremental tests
2024-08-17 18:50:10 -04:00
mlugg
b65865b027
tools: improve incr-check
...
And add a new incremental test to match!
2024-08-17 18:50:10 -04:00
Andrew Kelley
9f112ce868
incr-test: running an update
2024-07-20 01:06:29 -07:00
Andrew Kelley
ea2c45227a
init incremental compilation check tool
2024-07-20 01:06:29 -07:00
Jakub Konka
3624e1ef48
test: move compile errors and incremental tests into common dir
2022-05-04 23:51:16 +02:00
Andrew Kelley
1a1f62a0ce
std: enable real start code always for LLVM backend
2022-05-02 22:06:02 -07:00
Veikka Tuominen
a6f254ec3e
stage2: fix comptime unreachable
2022-04-30 01:05:48 +03:00
Jakub Konka
3c19f694d9
test: fix incorrect error loc in assert_function x86_64-linux test
2022-04-28 18:35:01 +02:00
Jakub Konka
2875216f8e
test: fix x86_64-macos failures
...
This is just a temporary fix - I would like to unify all of x86_64
tests across linux and macos OSes.
2022-04-28 18:35:01 +02:00
Jakub Konka
5a5648c0f0
test: migrate llvm incremental tests
2022-04-28 18:35:01 +02:00
Jakub Konka
495bb12e6a
test: migrate plan9 and sparcv9 incremental tests
2022-04-28 18:35:01 +02:00
Jakub Konka
ed51a5d02a
test: migrate arm incremental tests
2022-04-28 18:35:01 +02:00
Jakub Konka
fc4fbfe8e1
test: migrate aarch64 incremental tests
2022-04-28 18:35:01 +02:00
Jakub Konka
7e17cbbda5
test: migrate riscv64 incremental tests
2022-04-28 18:35:01 +02:00
Jakub Konka
8e05e6a1ed
test: migrate wasm incremental tests
2022-04-28 18:35:01 +02:00
Jakub Konka
8d5acf7693
test: recursively walk dir with tests
...
Prune incremental tests by moving non-incremental behavior tests to
behavior test suite instead.
2022-04-28 18:35:01 +02:00
Jakub Konka
97b781955e
test: fix incorrect default target spec; port all incremental tests
2022-04-28 18:35:01 +02:00
Jakub Konka
0998185f77
test: adjust error location for assert_function test
2022-04-28 18:35:01 +02:00
Jakub Konka
c1a98cd65d
test: set case name from initial filename for a sequence
...
Port more incremental tests.
2022-04-28 18:35:01 +02:00
Jakub Konka
46db5e2a44
test: unroll into multiple cases, provide default parsers
...
Provide default parsers for obvious config options such as
`CrossTarget` or `Backend` (or any enum for that matter).
Unroll iterator loops into multiple cases - we need to create
a Cartesian product for all possibilities specified in the
test manifest.
2022-04-28 18:35:01 +02:00
Jakub Konka
f41dd3617e
test: pass Strategy per directory of tests
2022-04-28 18:35:01 +02:00
Jakub Konka
d8d12d51ec
test: abstract away test manifest parser into separate struct
2022-04-28 18:35:01 +02:00