Niko Matsakis
d72803c027
don't mark specified values as volatile
...
This is what we want, but it's not a complete fix.
It does make these tests work, though!
Good enough to commit.
2022-08-10 00:42:32 -04:00
Niko Matsakis
27a240aa86
comment out red_herring tests
...
They do not pass (yet)
2022-08-10 00:42:32 -04:00
Niko Matsakis
7e747f357c
enable logging for tracked-fn-read-own-entity test
2022-08-10 00:42:32 -04:00
Niko Matsakis
f513f46380
add comments, remove dead-code lints
2022-08-10 00:42:32 -04:00
Niko Matsakis
323e677182
enable logging of salsa events by default
...
and add logging to tests
2022-08-10 00:42:27 -04:00
Niko Matsakis
00172efb19
add red-herring tests which modify distinct inputs
2022-08-10 00:42:05 -04:00
bors[bot]
9ff6fb3376
Merge #336
...
336: Add options to tracked functions for cycle recovery r=nikomatsakis a=XFFXFF
closes #331
This pr ports the old salsa tests for cycle in a single thread, except for [cycle_disappears_durability](03a27a7054/tests/cycles.rs (L326)
), since we don't have the api that permits setting durability.
~I haven't ported parallel related tests, which would be some work, wondering if we can merge this in first~
Co-authored-by: XFFXFF <1247714429@qq.com>
2022-08-10 04:14:16 +00:00
XFFXFF
d32cff1bfb
define Jar struct separately
2022-08-10 07:28:13 +08:00
XFFXFF
9feb0050e4
ports parallel related tests for cycle
2022-08-09 18:06:39 +08:00
XFFXFF
9fb5f7a366
add some comments
2022-08-09 08:43:44 +08:00
XFFXFF
80bfff8d7a
port old tests for cycle in a single thread
2022-08-09 07:54:15 +08:00
XFFXFF
045f5186b3
modify tracked_fn macro to use it
2022-08-08 08:57:29 +08:00
XFFXFF
0f907dd3cd
add recovery_fn option
2022-08-08 07:32:39 +08:00
XFFXFF
815bf6003b
add a test
2022-08-08 07:20:39 +08:00
XFFXFF
1ec4e45a7f
test: expect reuse field X changes but fn depends on field Y
2022-08-07 12:43:45 +08:00
Niko Matsakis
3b3e0be981
make salsa-2022 tests into independent files
...
also add a few new tests
2022-08-06 10:43:43 -04:00