Add testing infrastructure and move out gen nim

This commit is contained in:
Joey Yakimowich-Payne 2018-05-26 12:40:09 +09:00
commit 801658b9ea
23 changed files with 462 additions and 32 deletions

View file

@ -19,7 +19,7 @@ TARGET=pfff
PROGS=pfff
#PROGS+=pfff_test
PROGS+=pfff_test
OPTPROGS= $(PROGS:=.opt)
@ -59,7 +59,8 @@ BASICLIBS=commons/commons.cma \
globals/lib.cma \
h_program-lang/lib.cma \
lang_cpp/parsing/lib.cma \
lang_c/parsing/lib.cma
lang_c/parsing/lib.cma \
generators/nim/lib.cma
# commons/commons_features.cma \
@ -75,6 +76,7 @@ LIBS= commons/commons.cma \
h_program-lang/lib.cma \
lang_cpp/parsing/lib.cma \
lang_c/parsing/lib.cma \
generators/nim/lib.cma
MAKESUBDIRS=commons commons_core \
$(JSONDIR) \
@ -83,6 +85,7 @@ MAKESUBDIRS=commons commons_core \
h_program-lang \
lang_cpp/parsing \
lang_c/parsing \
generators/nim
INCLUDEDIRS=$(MAKESUBDIRS)