internal/cuetxtar: merge permuteCount into permute directive
Replace the separate @test(permuteCount, N) directive with a count=
option embedded in @test(permute, count=N). This ensures the count is
always co-located with the permute directive and is auto-filled by
CUE_UPDATE=1.
For the decl form (@test(permute) as a struct declaration), count= is
placed on the permute directive itself. For the field form, count= is
placed on the first annotated field in the group. The count= (empty)
placeholder is filled by CUE_UPDATE=1; a non-empty value is verified
and updated by CUE_UPDATE=force.
Remove permuteCount handling from the inline runner and update all
test files accordingly.
Signed-off-by: Marcel van Lohuizen <mpvl@gmail.com>
Change-Id: If92c74a3edc2c3b00dcdfff84da88e2bb2baa8b6
Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cue/+/1235752
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Unity-Result: CUE porcuepine <cue.porcuepine@gmail.com>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>