mirror of
https://github.com/vgough/encfs.git
synced 2024-12-01 20:34:04 +01:00
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
|