summaryrefslogtreecommitdiffstats
path: root/tdeio/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-01-29 02:35:44 +0100
committerSlávek Banko <slavek.banko@axis.cz>2017-01-29 02:48:50 +0100
commit8d9229ab48e042d7b62766ff1d11b9f081c54ec9 (patch)
treea4ee003e0db121698d6904a42ddd4f57b1d0fa5b /tdeio/tests/CMakeLists.txt
parenta6615bdaaa4ff01b68c661c8eb050ffe03e3d6fb (diff)
downloadtdelibs-8d9229ab48e042d7b62766ff1d11b9f081c54ec9.tar.gz
tdelibs-8d9229ab48e042d7b62766ff1d11b9f081c54ec9.zip
testing: run tdeio/kmimetypetest with temporary profile
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 4d3d8d865359061916b21e9ab46097e2e4c2fd2c)
Diffstat (limited to 'tdeio/tests/CMakeLists.txt')
-rw-r--r--tdeio/tests/CMakeLists.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/tdeio/tests/CMakeLists.txt b/tdeio/tests/CMakeLists.txt
index b8b9a411a..323a7d86e 100644
--- a/tdeio/tests/CMakeLists.txt
+++ b/tdeio/tests/CMakeLists.txt
@@ -53,6 +53,7 @@ set( CHECKS
kmimemagictest kpropsdlgtest kprotocolinfotest kruntest kscantest kshredtest
ktartest kurifiltertest kurlcompletiontest kziptest metatest netaccesstest
previewtest speed tdeioslavetest tdesycocatest tdesycocaupdatetest
+ kmimetypetest
)
foreach( _check ${CHECKS} )
@@ -67,10 +68,18 @@ endforeach( )
# - kurifiltertest requires network access and GUI
# - tdesycocatest requires installed tdebase and GUI
-set( TESTS dataprotocoltest kacltest kmimetypetest )
+set( TESTS dataprotocoltest kacltest )
foreach( _check ${TESTS} )
tde_add_check_executable( ${_check} AUTOMOC LINK tdeio-shared TEST)
endforeach( )
+
+configure_file( kmimetypetest.sh.cmake kmimetypetest.sh @ONLY )
+
+add_test( NAME "tdeio/kmimetypetest"
+ COMMAND sh -x "${CMAKE_CURRENT_BINARY_DIR}/kmimetypetest.sh"
+ WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}" )
+
+
# TODO add kdirwatchunittest