phase29ao(p35): ssot tag coverage and pattern1 negative gate

This commit is contained in:
2025-12-30 16:55:38 +09:00
parent 3bbd501479
commit f6adf2a43f
9 changed files with 146 additions and 6 deletions

View File

@ -12,6 +12,7 @@ require_env || exit 2
FIXTURE="$NYASH_ROOT/apps/tests/phase29ao_pattern1_subset_reject_extra_stmt.hako"
RUN_TIMEOUT_SECS=${RUN_TIMEOUT_SECS:-10}
SHADOW_TAG='[coreplan/shadow_adopt:pattern1_simplewhile]'
set +e
OUTPUT=$(timeout "$RUN_TIMEOUT_SECS" env NYASH_DISABLE_PLUGINS=1 HAKO_JOINIR_STRICT=1 "$NYASH_BIN" --backend vm "$FIXTURE" 2>&1)
@ -29,5 +30,11 @@ if [ "$EXIT_CODE" -ne 3 ]; then
exit 1
fi
if echo "$OUTPUT" | grep -qF "$SHADOW_TAG"; then
log_error "phase29ao_pattern1_subset_reject_extra_stmt_vm: shadow adopt tag must not appear: $SHADOW_TAG"
echo "$OUTPUT"
exit 1
fi
log_success "phase29ao_pattern1_subset_reject_extra_stmt_vm: PASS (exit=3)"
exit 0