mirror of
https://github.com/MariaDB/server.git
synced 2025-02-01 19:41:47 +01:00
add new nightly test scripts
git-svn-id: file:///svn/toku/tokudb@55606 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
e75aa0937f
commit
d45f9a6361
4 changed files with 129 additions and 0 deletions
10
scripts/run-all-nightly-tests.bash
Executable file
10
scripts/run-all-nightly-tests.bash
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pushd $(dirname $0) &>/dev/null
|
||||||
|
scriptdir=$PWD
|
||||||
|
popd &>/dev/null
|
||||||
|
|
||||||
|
bash $scriptdir/run-nightly-release-tests.bash
|
||||||
|
bash $scriptdir/run-nightly-drd-tests.bash
|
||||||
|
bash $scriptdir/run-nightly-coverage-tests.bash
|
||||||
|
|
41
scripts/run-nightly-coverage-tests.bash
Executable file
41
scripts/run-nightly-coverage-tests.bash
Executable file
|
@ -0,0 +1,41 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
pushd $(dirname $0) &>/dev/null
|
||||||
|
scriptdir=$PWD
|
||||||
|
popd &>/dev/null
|
||||||
|
tokudbdir=$(dirname $scriptdir)
|
||||||
|
|
||||||
|
if [ ! -d build ] ; then
|
||||||
|
mkdir build
|
||||||
|
pushd build
|
||||||
|
CC=gcc47 CXX=g++47 cmake \
|
||||||
|
-D CMAKE_BUILD_TYPE=Debug \
|
||||||
|
-D USE_VALGRIND=ON \
|
||||||
|
-D TOKU_DEBUG_PARANOID=ON \
|
||||||
|
-D USE_CTAGS=OFF \
|
||||||
|
-D USE_GTAGS=OFF \
|
||||||
|
-D USE_CSCOPE=OFF \
|
||||||
|
-D USE_ETAGS=OFF \
|
||||||
|
-D USE_BDB=OFF \
|
||||||
|
-D USE_GCOV=ON \
|
||||||
|
-D CMAKE_LINK_DEPENDS_NO_SHARED=ON \
|
||||||
|
-G Ninja \
|
||||||
|
-D RUN_LONG_TESTS=ON \
|
||||||
|
-D TOKUDB_DATA=$tokudbdir/../tokudb.data \
|
||||||
|
..
|
||||||
|
ninja build_jemalloc build_lzma
|
||||||
|
popd build
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd build
|
||||||
|
ctest -j16 \
|
||||||
|
-D NightlyStart \
|
||||||
|
-D NightlyUpdate \
|
||||||
|
-D NightlyConfigure \
|
||||||
|
-D NightlyBuild \
|
||||||
|
-D NightlyTest \
|
||||||
|
-D NightlyCoverage \
|
||||||
|
-D NightlySubmit \
|
||||||
|
-E '/drd|/helgrind'
|
34
scripts/run-nightly-drd-tests.bash
Executable file
34
scripts/run-nightly-drd-tests.bash
Executable file
|
@ -0,0 +1,34 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
pushd $(dirname $0) &>/dev/null
|
||||||
|
scriptdir=$PWD
|
||||||
|
popd &>/dev/null
|
||||||
|
tokudbdir=$(dirname $scriptdir)
|
||||||
|
|
||||||
|
if [ ! -d build ] ; then
|
||||||
|
mkdir build
|
||||||
|
pushd build
|
||||||
|
CC=gcc47 CXX=g++47 cmake \
|
||||||
|
-D CMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
|
-D USE_VALGRIND=ON \
|
||||||
|
-D TOKU_DEBUG_PARANOID=ON \
|
||||||
|
-D USE_CTAGS=OFF \
|
||||||
|
-D USE_GTAGS=OFF \
|
||||||
|
-D USE_CSCOPE=OFF \
|
||||||
|
-D USE_ETAGS=OFF \
|
||||||
|
-D USE_BDB=OFF \
|
||||||
|
-D CMAKE_LINK_DEPENDS_NO_SHARED=ON \
|
||||||
|
-G Ninja \
|
||||||
|
-D RUN_LONG_TESTS=ON \
|
||||||
|
-D TOKUDB_DATA=$tokudbdir/../tokudb.data \
|
||||||
|
..
|
||||||
|
ninja build_jemalloc build_lzma
|
||||||
|
popd build
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd build
|
||||||
|
ctest -j16 \
|
||||||
|
-D Nightly \
|
||||||
|
-R '/drd|/helgrind'
|
44
scripts/run-nightly-release-tests.bash
Executable file
44
scripts/run-nightly-release-tests.bash
Executable file
|
@ -0,0 +1,44 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
pushd $(dirname $0) &>/dev/null
|
||||||
|
scriptdir=$PWD
|
||||||
|
popd &>/dev/null
|
||||||
|
tokudbdir=$(dirname $scriptdir)
|
||||||
|
|
||||||
|
if [ ! -d build ] ; then
|
||||||
|
mkdir build
|
||||||
|
pushd build
|
||||||
|
CC=gcc47 CXX=g++47 cmake \
|
||||||
|
-D CMAKE_BUILD_TYPE=Release \
|
||||||
|
-D USE_VALGRIND=ON \
|
||||||
|
-D TOKU_DEBUG_PARANOID=OFF \
|
||||||
|
-D USE_CTAGS=OFF \
|
||||||
|
-D USE_GTAGS=OFF \
|
||||||
|
-D USE_CSCOPE=OFF \
|
||||||
|
-D USE_ETAGS=OFF \
|
||||||
|
-D USE_BDB=ON \
|
||||||
|
-D CMAKE_LINK_DEPENDS_NO_SHARED=ON \
|
||||||
|
-G Ninja \
|
||||||
|
-D RUN_LONG_TESTS=ON \
|
||||||
|
-D TOKUDB_DATA=$tokudbdir/../tokudb.data \
|
||||||
|
..
|
||||||
|
ninja build_jemalloc build_lzma
|
||||||
|
popd build
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd build
|
||||||
|
set +e
|
||||||
|
ctest -j16 \
|
||||||
|
-D NightlyStart \
|
||||||
|
-D NightlyUpdate \
|
||||||
|
-D NightlyConfigure \
|
||||||
|
-D NightlyBuild \
|
||||||
|
-D NightlyTest \
|
||||||
|
-E '/drd|/helgrind'
|
||||||
|
ctest -j16 \
|
||||||
|
-D NightlyMemCheck \
|
||||||
|
-E '^ydb/.*\.bdb|test1426\.tdb|/drd|/helgrind'
|
||||||
|
set -e
|
||||||
|
ctest -D NightlySubmit
|
Loading…
Add table
Reference in a new issue