# Run this only if the package is installed
if (! exist (fullfile (fileparts (mfilename ("fullpath")), "inst"), "dir"))
  dirlist= {"test","testfun"};
  for ii=1:length(dirlist)
     rmpath (fullfile (fileparts(mfilename("fullpath")),dirlist{ii}))
  end
end
