Signed-off-by: Slávek Banko <slavek.banko@axis.cz>pull/1/head
parent
30d5bd4d72
commit
4d3d8d8653
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# create profile for test
|
||||||
|
TDEHOME=@CMAKE_CURRENT_BINARY_DIR@/profile
|
||||||
|
mkdir $TDEHOME $TDEHOME/share
|
||||||
|
ln -s @CMAKE_SOURCE_DIR@/mimetypes $TDEHOME/share/mimelnk
|
||||||
|
export TDEHOME
|
||||||
|
|
||||||
|
# run dcop server
|
||||||
|
../../dcop/dcopserver --nofork &
|
||||||
|
DCOP_SERVER_PID=$!
|
||||||
|
|
||||||
|
# update tdesycoca using mime types from source
|
||||||
|
../../kded/tdebuildsycoca --noincremental --nosignal
|
||||||
|
|
||||||
|
# perform test
|
||||||
|
./kmimetypetest
|
||||||
|
STATE=$?
|
||||||
|
|
||||||
|
# cleanup
|
||||||
|
kill $DCOP_SERVER_PID
|
||||||
|
rm -fr $TDEHOME
|
||||||
|
exit $STATE
|
Loading…
Reference in new issue