Skip to content

Instantly share code, notes, and snippets.

@ligurio

ligurio/mull.md

Last active Feb 8, 2021
Embed
What would you like to do?

Using Mull (https://mull.readthedocs.io/) with Tarantool testing.

Support tests written on interpreted languages https://github.com/mull-project/mull/issues/778

git clone https://github.com/tarantool/tarantool
cd tarantool
mkdir build
cmake \
  -DCMAKE_CFLAGS="-fembed-bitcode -g -O0" \
  -DCMAKE_CXX_FLAGS="-fembed-bitcode -g -O0" \
  -DCMAKE_BUILD_TYPE=Debug \ 
  -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
  -DCMAKE_C_COMPILER="/usr/bin/clang" \
  -DCMAKE_CXX_COMPILER="/usr/bin/clang++" ..
make -j
mull-cxx -compdb-path compile_commands.json -ide-reporter-show-killed --reporters=Elements --ld-search-path /usr/lib/x86_64-linux-gnu/ ./test/unit/merger.test
mull-cxx -compdb-path compile_commands.json --reporters=Elements ./test/unit/int96.test
python3 -m http.server --directory .

mull-cxx --reporters=Elements -compdb-path compile_commands.json -compilation-flags="-isystem /usr/local/include \
-isystem /usr/lib/llvm-10/lib/clang/10.0.0/include \
-isystem /usr/include/x86_64-linux-gnu \
-isystem /usr/include" ./test/unit/int96.test

(broken) mull-cxx --reporters=Elements -compdb-path compile_commands.json -compilation-flags="-isystem /usr/local/include -isystem /usr/lib/llvm-10/lib/clang/10.0.0/include  -isystem /usr/include/x86_64-linux-gnu -isystem /usr/include" -ld-search-path="/usr/lib/x86_64-linux-gnu/" ./test/unit/raft.test

mull-cxx --reporters=Elements -ide-reporter-show-killed  --timeout=5000 -compdb-path compile_commands.json --include-path="../src/lib/salad/rtree.h"  ./test/unit/rtree.test```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment