Clone wiki

ori / Home

Ori File System

Please see our main website for more details.

Build Status

TODO: Switch to bitbucket pipelines

Running Testbench

To run the test suite you will need to configure an SSH public key to access your local machine without a password. You will also want to save the following into runtests_config.sh.

# Required for Mac OS X and FreeBSD only (comment out on Linux machines)
export UMOUNT="umount"

# Not updated to new CLI
HTTP_CLONE="no"
HTTP_PULL="no"
MERGE="no"
MOUNT_WRITE="no"
MOUNT_WRITE_PYTHON_MT="no"

Once configured you can run runtests.sh. On an error you may have to cleanup the tempdir and test repositories on your system before rerunning. The logs will be available inside the tempdir if an error occurred.

Build Flags

These flags are useful for development, testing, and debugging.

Enable address sanitizer for clang/llvm only. May require additional flags on some clang versions see LLVM wiki page.

scons WITH_ASAN=1

Enable thread sanitizer for clang/llvm only. May require additional flags on some clang versions see LLVM wiki page.

scons WITH_TSAN=1

Enable gprof profiling information

scons WITH_GPROF=1

Enable Google Heap Profiler (library required).

scons WITH_GOOGLEHEAP=1

Enable Google CPU Profiler (library required).

scons WITH_GOOGLEPROF=1

Updated