Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / test / Test.make
diff options
context:
space:
mode:
Commit5521d5857b122699120fbd749776dea44ffaa35b (patch)
Author
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-11-02 09:06:17 +0200
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-11-09 22:08:19 +0200
Files6355ced879e4b0bd425d0a557911cee0706582bf /JSImpl/test/Test.make
IPL-5521d5857b122699120fbd749776dea44ffaa35b.tar
IPL-5521d5857b122699120fbd749776dea44ffaa35b.tar.gz
IPL-5521d5857b122699120fbd749776dea44ffaa35b.zip
Parent407a57944600619a6693dfc4d8c525163bea0e13 (diff)
Add tests for the AST Interpreter
1 files changed, 6 insertions, 0 deletions
-rw-r--r--JSImpl/test/Test.make6
diff --git a/JSImpl/test/Test.make b/JSImpl/test/Test.make
index 38d963e..0510fa2 100644
--- a/JSImpl/test/Test.make
+++ b/JSImpl/test/Test.make
@@ -65,6 +65,7 @@ ifeq ($(config),debug)
LINKCMD = $(CXX) -o $(TARGET) $(LINKOBJS) $(RESOURCES) $(ARCH) $(ALL_LDFLAGS) $(LIBS)
OBJRESP =
OBJECTS := \
+ $(OBJDIR)/ASTInterpreterTests.o \
$(OBJDIR)/CodeGenerationTests.o \
$(OBJDIR)/LexerTests.o \
$(OBJDIR)/ParserTests.o \
@@ -102,6 +103,7 @@ ifeq ($(config),release)
LINKCMD = $(CXX) -o $(TARGET) $(LINKOBJS) $(RESOURCES) $(ARCH) $(ALL_LDFLAGS) $(LIBS)
OBJRESP =
OBJECTS := \
+ $(OBJDIR)/ASTInterpreterTests.o \
$(OBJDIR)/CodeGenerationTests.o \
$(OBJDIR)/LexerTests.o \
$(OBJDIR)/ParserTests.o \
@@ -178,6 +180,10 @@ $(LDRESP): $(LDDEPS) | $(TARGETDIR) $(OBJDIRS)
$(SILENT) echo $^ > $@
endif
+$(OBJDIR)/ASTInterpreterTests.o: ASTInterpreterTests.cpp $(GCH) $(MAKEFILE) | $(OBJDIR)/.
+ @echo $(notdir $<)
+ $(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"
+
$(OBJDIR)/CodeGenerationTests.o: CodeGenerationTests.cpp $(GCH) $(MAKEFILE) | $(OBJDIR)/.
@echo $(notdir $<)
$(SILENT) $(CXX) $(ALL_CXXFLAGS) $(FORCE_INCLUDE) -o "$@" -c "$<"