test(review-loop-run): ungate CR-7/8/9 tests — implementation merged (bug 5352fe72)
Claude-Session: https://claude.ai/code/session_01G3SkMRBRWXyiGuMGs8WVas
This commit is contained in:
@@ -81,9 +81,6 @@ assert_contains "no count block counts" "CRITICAL=1 HIGH=2 MEDIUM=0 LOW=0" "$out
|
|||||||
assert_contains "no count block marked derived" "(derived)" "$out"
|
assert_contains "no count block marked derived" "(derived)" "$out"
|
||||||
|
|
||||||
echo "review-loop-run — counts (CR-7/CR-8/CR-9, bug 5352fe72)"
|
echo "review-loop-run — counts (CR-7/CR-8/CR-9, bug 5352fe72)"
|
||||||
if [[ "${CR789_IMPL_READY:-0}" != "1" ]]; then
|
|
||||||
echo " SKIP CR-7/CR-8/CR-9 counts tests (set CR789_IMPL_READY=1 once implemented)"
|
|
||||||
else
|
|
||||||
out=$("$SCRIPT" counts "$FIXTURES/annotated-table-cell.md"); rc=$?
|
out=$("$SCRIPT" counts "$FIXTURES/annotated-table-cell.md"); rc=$?
|
||||||
assert_contains "counts annotated table cell" "CRITICAL=0 HIGH=1 MEDIUM=2 LOW=0" "$out"
|
assert_contains "counts annotated table cell" "CRITICAL=0 HIGH=1 MEDIUM=2 LOW=0" "$out"
|
||||||
out=$("$SCRIPT" counts "$FIXTURES/annotated-table-cell.md"); rc=$?
|
out=$("$SCRIPT" counts "$FIXTURES/annotated-table-cell.md"); rc=$?
|
||||||
@@ -108,8 +105,6 @@ else
|
|||||||
assert_contains "counts declaration line annotation rejected" "CRITICAL=0 HIGH=0 MEDIUM=0 LOW=0 (derived)" "$out"
|
assert_contains "counts declaration line annotation rejected" "CRITICAL=0 HIGH=0 MEDIUM=0 LOW=0 (derived)" "$out"
|
||||||
# companion handle (not in spec matrix): exit-code check for the same declaration-line-annotation-rejected case
|
# companion handle (not in spec matrix): exit-code check for the same declaration-line-annotation-rejected case
|
||||||
assert_exit "counts declaration line annotation rejected exits 0" 0 "$rc"
|
assert_exit "counts declaration line annotation rejected exits 0" 0 "$rc"
|
||||||
fi
|
|
||||||
|
|
||||||
echo "review-loop-run — status"
|
echo "review-loop-run — status"
|
||||||
printf 'x\nexit=0\n' > "$REVIEW_LOOP_RUN_DIR/t-r1-stdout.txt"
|
printf 'x\nexit=0\n' > "$REVIEW_LOOP_RUN_DIR/t-r1-stdout.txt"
|
||||||
out=$("$SCRIPT" status --name t 2>&1); rc=$?
|
out=$("$SCRIPT" status --name t 2>&1); rc=$?
|
||||||
|
|||||||
Reference in New Issue
Block a user