Skip to content

Commit

Permalink
Move the tests from behavior to semantic
Browse files Browse the repository at this point in the history
  • Loading branch information
Gueckmooh committed Feb 27, 2023
1 parent db6c30e commit 519c438
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 16 deletions.
1 change: 0 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ add_subdirectory(profile)
add_subdirectory(scheduler)
add_subdirectory(link)
add_subdirectory(libsouffle_interface)
add_subdirectory(behavior)
14 changes: 0 additions & 14 deletions tests/behavior/CMakeLists.txt

This file was deleted.

8 changes: 7 additions & 1 deletion tests/semantic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ function(positive_test NAME)
souffle_positive_test(${NAME} semantic ${ARGN})
endfunction()

function(positive_output_stdout_test NAME)
souffle_run_test_helper(TEST_NAME ${NAME} CATEGORY semantic OUTPUT_STDOUT ${ARGV})
souffle_run_test_helper(TEST_NAME ${NAME} CATEGORY semantic OUTPUT_STDOUT ${ARGV} COMPILED)
endfunction()

function(negative_test NAME)
souffle_negative_test(${NAME} semantic)
endfunction()
Expand Down Expand Up @@ -259,4 +264,5 @@ positive_test(underscore5)
negative_test(mutually_dependent_aggregate)
positive_test(independent_aggregate)
positive_test(independent_aggregate2)
souffle_positive_functor_test(issue2373 CATEGORY semantic)
souffle_positive_functor_test(issue2373 CATEGORY semantic)
positive_output_stdout_test(output_stdout)

0 comments on commit 519c438

Please sign in to comment.