mirror of
https://github.com/vgough/encfs.git
synced 2024-12-19 13:10:58 +01:00
5f0806c5cc
git-vendor-name: easylogging git-vendor-dir: vendor/github.com/muflihun/easyloggingpp git-vendor-repository: https://github.com/muflihun/easyloggingpp git-vendor-ref: master
9 lines
383 B
Bash
9 lines
383 B
Bash
echo "Compiling unit tests..."
|
|
clang++ *.cc -lgtest -std=c++11 -lpthread -o unit_test -D_ELPP_DEFAULT_LOG_FILE='"logs/el.gtest.log"' -DELPP_LOGGING_FLAGS_FROM_ARG -DELPP_FEATURE_ALL -Wall -Wextra -pedantic -pedantic-errors -Werror -Wfatal-errors -Wundef -v
|
|
echo "Running unit tests..."
|
|
./unit_test -v
|
|
result=$?
|
|
rm -r unit_test logs
|
|
echo "Unit tests completed : $result"
|
|
exit $result
|