flatgeobuf/script/run_tests.sh
2025-01-08 15:28:32 +01:00

14 lines
456 B
Bash
Executable File

#!/bin/bash
echo -e '\033[1;33m--- Removing previous C++ tests if any ---'
rm -f ./testcpp
echo -e '\033[1;33m--- Compiling C++ tests ---'
clang++ -std=c++14 -Wall -Werror -Wshorten-64-to-32 -Wfloat-conversion -Wmissing-declarations -g -o ./testcpp -Isrc/cpp/include src/cpp/packedrtree.cpp src/cpp/test/run_tests.cpp
echo -e '\033[1;33m--- Running C++ tests ---'
./testcpp -d yes
echo -e '\033[1;33m--- Running Java tests ---'
cd src/java && mvn test