test\!: UNDO Turn off tests for fake Go backend

This prevents the mock Go skeleton currently on the mainline from causing test errors.
It should be reverted when a real Go skeleton and backend are implmemented.
This commit is contained in:
Mightyjo
2026-02-22 15:51:00 -05:00
committed by Will Estes
parent c749bd29a7
commit 575e0f42dd
2 changed files with 19 additions and 234 deletions
+17 -12
View File
@@ -405,17 +405,21 @@ top.h: top.c
# Build rules for non-C back ends
.l.go:
%.go: %.l $(FLEX)
$(AM_V_LEX)$(FLEX) $(TESTOPTS) -o $@ $<
# This is a temporary fake rule for use while the Go back end still
# actually generates C.
.go:
%.o: %.go
$(CC) $< -o $*_go
## A Go backend would be built like this
# .l.go:
#
# %.go: %.l $(FLEX)
# $(AM_V_LEX)$(FLEX) $(TESTOPTS) -o $@ $<
#
# .go:
#
# # This is a temporary fake rule for use while the Go back end still
# # actually generates C.
# # We'll replace the CC comand with a golang command if Make still
# # doesn't have a builtin rule when the backend is ready.
#
# %.o: %.go
# $(CC) $< -o $*_go
# Most test productions can be autogenerated from ruleset files, but
# automake has no way to specify such things with a loop in a variable
@@ -448,7 +452,8 @@ RULESETS = \
$(srcdir)/yyunput.rules
$(srcdir)/ruleset.am: $(srcdir)/ruleset.sh $(RULESETS)
( cd $(srcdir) && $(SHELL) ruleset.sh nr r c99 go >ruleset.am )
( cd $(srcdir) && $(SHELL) ruleset.sh nr r c99 >ruleset.am )
# ( cd $(srcdir) && $(SHELL) ruleset.sh nr r c99 go >ruleset.am )
include $(srcdir)/ruleset.am
+2 -222
View File
File diff suppressed because one or more lines are too long