TDE core libraries
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
458B

  1. #!/bin/sh
  2. # create profile for test
  3. TDEHOME=@CMAKE_CURRENT_BINARY_DIR@/profile
  4. mkdir $TDEHOME $TDEHOME/share
  5. ln -s @CMAKE_SOURCE_DIR@/mimetypes $TDEHOME/share/mimelnk
  6. export TDEHOME
  7. # run dcop server
  8. ../../dcop/dcopserver --nofork &
  9. DCOP_SERVER_PID=$!
  10. # update tdesycoca using mime types from source
  11. ../../kded/tdebuildsycoca --noincremental --nosignal
  12. # perform test
  13. ./kmimetypetest
  14. STATE=$?
  15. # cleanup
  16. kill $DCOP_SERVER_PID
  17. rm -fr $TDEHOME
  18. exit $STATE