-
Notifications
You must be signed in to change notification settings - Fork 302
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/core/adt: add tests for 3672 and 3606
These tests have the same fix, which will be addressed in a different CL. The issues with these tests only manifest themselves with DebugDeps enabled. So we therefore disable it to ensure the problem is exposed. Disabling DebugDeps has the side effect to cause the counter checks in EvalAlpha to fail. We therefore also add a check to disable those checks. We could have opted to set an option for the tests to run with DebugDeps disabled. However, the solution to the bug is to make the use of "dependencies" official and not disable them if DebugDeps is disabled. We therefore keep DebugDeps off in the transition, after which it can be enabled again. Notice that this also changes some other tests. We will address these in the fix as well. Issue #3606 Issue #3672 Signed-off-by: Marcel van Lohuizen <[email protected]> Change-Id: I73b0b9925806fae94b0c6da6faf3dd50db500d27 Reviewed-on: https://gerrithub.io/c/cue-lang/cue/+/1207313 Unity-Result: CUE porcuepine <[email protected]> Reviewed-by: Daniel Martí <[email protected]> TryBot-Result: CUEcueckoo <[email protected]>
- Loading branch information
Showing
5 changed files
with
605 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.