Navigation Menu

Skip to content

Commit

Permalink
test functional: use tmpfs
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 6, 2012
1 parent 257f2f3 commit 92a6d60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -125,3 +125,4 @@ cmake_install.cmake
/test/unit/Gemfile.lock
/test/function/grntest
/*.tar.gz
/tmp
6 changes: 6 additions & 0 deletions test/function/run-test.sh
Expand Up @@ -84,6 +84,12 @@ if test "$have_targets" != "true"; then
grntest_options=("${grntest_options[@]}" "${BASE_DIR}/suite")
fi

tmpfs=/dev/shm
if test -e $tmpfs; then
rm -rf "tmp"
ln -s $tmpfs "tmp"
fi

$RUBY -I "$grntest_dir/lib" \
"$grntest_dir/bin/grntest" \
--groonga "$GROONGA" \
Expand Down

0 comments on commit 92a6d60

Please sign in to comment.