Skip to content

Commit

Permalink
#28: - added tests with dryrun for end2end
Browse files Browse the repository at this point in the history
- added tests activation to CMakeLists.txt
  • Loading branch information
Marcin Wróbel committed Sep 29, 2022
1 parent 3eba9a5 commit dd0bf16
Show file tree
Hide file tree
Showing 2 changed files with 497 additions and 1 deletion.
8 changes: 7 additions & 1 deletion end-to-end-roms/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../cpp)

configure_file(fake_basis.bin ${CMAKE_CURRENT_BINARY_DIR}/fake_basis.bin COPYONLY)
Expand All @@ -15,3 +14,10 @@ set_tests_properties(
PASS_REGULAR_EXPRESSION "PASS"
FAIL_REGULAR_EXPRESSION "FAILED"
)

include(FindPythonInterp)
set (python_file "end2end_test.py")
execute_process(
COMMAND ${PYTHON_EXECUTABLE} ${python_file}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/end2end_dry
)
Loading

0 comments on commit dd0bf16

Please sign in to comment.