@@ -20,6 +20,7 @@ set(GODEL_FRONTEND_HDR_FILES
20
20
godel-frontend/src/semantic.h
21
21
godel-frontend/src/symbol.h
22
22
godel-frontend/src/ir/aggregator_inline_remark.h
23
+ godel-frontend/src/ir/call_graph.h
23
24
godel-frontend/src/ir/flatten_block.h
24
25
godel-frontend/src/ir/ir_gen.h
25
26
godel-frontend/src/ir/ir_context.h
@@ -29,6 +30,7 @@ set(GODEL_FRONTEND_HDR_FILES
29
30
godel-frontend/src/ir/pass.h
30
31
godel-frontend/src/ir/pass_manager.h
31
32
godel-frontend/src/ir/remove_unused.h
33
+ godel-frontend/src/ir/reorder.h
32
34
godel-frontend/src/error/error.h
33
35
godel-frontend/src/ast/ast_node.h
34
36
godel-frontend/src/ast/ast_root.h
@@ -60,6 +62,7 @@ set(GODEL_FRONTEND_SRC_FILES
60
62
godel-frontend/src/semantic.cpp
61
63
godel-frontend/src/symbol.cpp
62
64
godel-frontend/src/ir/aggregator_inline_remark.cpp
65
+ godel-frontend/src/ir/call_graph.cpp
63
66
godel-frontend/src/ir/flatten_block.cpp
64
67
godel-frontend/src/ir/ir_gen.cpp
65
68
godel-frontend/src/ir/ir_context.cpp
@@ -69,6 +72,7 @@ set(GODEL_FRONTEND_SRC_FILES
69
72
godel-frontend/src/ir/pass.cpp
70
73
godel-frontend/src/ir/pass_manager.cpp
71
74
godel-frontend/src/ir/remove_unused.cpp
75
+ godel-frontend/src/ir/reorder.cpp
72
76
godel-frontend/src/error/error.cpp
73
77
godel-frontend/src/ast/ast_visitor.cpp
74
78
godel-frontend/src/ast/ast_root.cpp
@@ -136,3 +140,12 @@ target_link_libraries(godel
136
140
# link dynamic library
137
141
target_link_libraries (godel PUBLIC
138
142
libsouffle-shared souffle_ext)
143
+
144
+ # add testing rule
145
+ enable_testing ()
146
+ add_test (NAME godel-test
147
+ COMMAND godel -p ${PROJECT_SOURCE_DIR} /godel-frontend/test /pkgtest ${PROJECT_SOURCE_DIR} /godel-frontend/test /pkgtest/a.gdl)
148
+ add_test (NAME gs_new-test
149
+ COMMAND godel ${PROJECT_SOURCE_DIR} /godel-frontend/test /semantic/gs_new.gdl)
150
+ add_test (NAME fact-stmt-test
151
+ COMMAND godel ${PROJECT_SOURCE_DIR} /godel-frontend/test /semantic/fact.gdl)
0 commit comments