changeset 134:ee13116349cd

build: Add test targets for eval and preprocess tests
author Lewin Bormann <lbo@spheniscida.de>
date Sun, 01 Sep 2019 19:24:45 +0200
parents 2af75be12687
children a26a197afe24
files src/CMakeLists.txt
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/CMakeLists.txt	Sun Sep 01 19:24:33 2019 +0200
+++ b/src/CMakeLists.txt	Sun Sep 01 19:24:45 2019 +0200
@@ -38,6 +38,11 @@
 TARGET_LINK_LIBRARIES(builtin_test core frontend)
 YADD_TEST(builtin_test)
 
+# Eval test.
+ADD_EXECUTABLE(eval_test eval_test.c)
+TARGET_LINK_LIBRARIES(eval_test frontend)
+YADD_TEST(eval_test)
+
 # Expr test.
 ADD_EXECUTABLE(expr_test expr_test.c)
 TARGET_LINK_LIBRARIES(expr_test core)
@@ -48,6 +53,11 @@
 TARGET_LINK_LIBRARIES(parse_test frontend)
 YADD_TEST(parse_test)
 
+# Preprocess test
+ADD_EXECUTABLE(preprocess_test preprocess_test.c)
+TARGET_LINK_LIBRARIES(preprocess_test frontend)
+YADD_TEST(preprocess_test)
+
 # Print sizes.
 ADD_EXECUTABLE(sizes_test sizes_test.c)
 TARGET_LINK_LIBRARIES(sizes_test core)