Skip to content

Commit c761bcf

Browse files
authored
MLIR: fix cmake test (#2257)
1 parent 3412f2a commit c761bcf

File tree

6 files changed

+41
-1
lines changed

6 files changed

+41
-1
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Run regression and unit tests
2+
add_lit_testsuite(check-enzymemlir-activity "Running MLIR activity tests"
3+
${CMAKE_CURRENT_BINARY_DIR}
4+
DEPENDS enzymemlir-opt
5+
ARGS -v
6+
)
7+
8+
set_target_properties(check-enzymemlir-activity PROPERTIES FOLDER "Tests")
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Run regression and unit tests
2+
add_lit_testsuite(check-enzymemlir-alias "Running MLIR alias mode tests"
3+
${CMAKE_CURRENT_BINARY_DIR}
4+
DEPENDS enzymemlir-opt
5+
ARGS -v
6+
)
7+
8+
set_target_properties(check-enzymemlir-alias PROPERTIES FOLDER "Tests")

enzyme/test/MLIR/Batch/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Run regression and unit tests
2-
add_lit_testsuite(check-enzymemlir-batch "Running MLIR batch tests"
2+
add_lit_testsuite(check-enzymemlir-batch "Running MLIR batch mode tests"
33
${CMAKE_CURRENT_BINARY_DIR}
44
DEPENDS enzymemlir-opt
55
ARGS -v
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Run regression and unit tests
2+
add_lit_testsuite(check-enzymemlir-forward "Running MLIR forward mode tests"
3+
${CMAKE_CURRENT_BINARY_DIR}
4+
DEPENDS enzymemlir-opt
5+
ARGS -v
6+
)
7+
8+
set_target_properties(check-enzymemlir-forward PROPERTIES FOLDER "Tests")
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Run regression and unit tests
2+
add_lit_testsuite(check-enzymemlir-pass "Running MLIR pass tests"
3+
${CMAKE_CURRENT_BINARY_DIR}
4+
DEPENDS enzymemlir-opt
5+
ARGS -v
6+
)
7+
8+
set_target_properties(check-enzymemlir-pass PROPERTIES FOLDER "Tests")
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Run regression and unit tests
2+
add_lit_testsuite(check-enzymemlir-propprog "Running MLIR probprog tests"
3+
${CMAKE_CURRENT_BINARY_DIR}
4+
DEPENDS enzymemlir-opt
5+
ARGS -v
6+
)
7+
8+
set_target_properties(check-enzymemlir-propprog PROPERTIES FOLDER "Tests")

0 commit comments

Comments
 (0)