summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
authorCarlos Maniero <carlosmaniero@gmail.com>2023-04-19 22:16:32 -0300
committerJohnny Richard <johnny@johnnyrichard.com>2023-04-20 18:36:44 +0200
commita7c6c350509b2544f1d423ca1ebcd5daeda5cb58 (patch)
tree3f3cd3dc89e93a7a89c0159be3f2491dd6325ef9 /test/Makefile
parent3ceb85bd93fa87a5be3682ab8995abea82a63ea3 (diff)
tests: Add integration tests
This tests perform the whole cycle. It takes the output from pipac compile, execute and check the returned status code. Signed-off-by: Carlos Maniero <carlosmaniero@gmail.com> Signed-off-by: Johnny Richard <johnny@johnnyrichard.com>
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 3845b92..1858166 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -22,3 +22,6 @@ lexer_test: munit.o ../build/string_view.o ../build/lexer.o lexer_test.o
parser_test: munit.o ../build/string_view.o ../build/lexer.o ../build/ast.o ../build/parser.o parser_test.o
$(CC) $? $(CFLAGS) -o $@
+
+integration_test: munit.o integration_test.o
+ $(CC) $? $(CFLAGS) -o $@