diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c1dde710..347e4603 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -66,6 +66,12 @@ if (Python_EXECUTABLE) set_tests_properties(${_class} PROPERTIES ENVIRONMENT "TZ=${Ledger_TEST_TIMEZONE}") endforeach() + + add_test(NAME demo + COMMAND ${Python_EXECUTABLE} ${PROJECT_SOURCE_DIR}/python/demo.py + WORKING_DIRECTORY ${PROJECT_BINARY_DIR}) + set_tests_properties(demo + PROPERTIES ENVIRONMENT "TZ=${Ledger_TEST_TIMEZONE};PYTHONPATH=.") endif() ### CMakeLists.txt ends here |