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:
+17
-12
@@ -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
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user