encfs/test/build_and_run.sh
Valient Gough 59d74aea1f Squashed 'vendor/github.com/muflihun/easyloggingpp/' content from commit 850ea2a9
git-subtree-dir: vendor/github.com/muflihun/easyloggingpp
git-subtree-split: 850ea2a9f151ed648a989dda1cf44e503e45831f
2017-08-05 23:23:41 -07:00

11 lines
377 B
Bash
Executable File

# Builds all tests into bin/ and runs
[ -d "bin" ] || mkdir "bin"
cd bin
echo "Building..."
g++ ../*.cc -std=c++11 -pthread -lgtest -DELPP_NO_DEFAULT_LOG_FILE -DELPP_FEATURE_ALL -DELPP_LOGGING_FLAGS_FROM_ARG -Wall -Wextra -pedantic -pedantic-errors -Werror -Wfatal-errors -Wundef -o easyloggingpp-test && echo "Running..." && ./easyloggingpp-test -v
cd ..
echo "Completed!"