mirror of
https://github.com/flatgeobuf/flatgeobuf.git
synced 2025-12-08 19:06:03 +00:00
14 lines
456 B
Bash
Executable File
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
|