mirror of
https://github.com/flatgeobuf/flatgeobuf.git
synced 2025-12-08 19:06:03 +00:00
Restore run_tests
This commit is contained in:
parent
d71e53876f
commit
e598aa2857
@ -1,9 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
#echo -e '\033[1;33m--- Running TypeScript tests ---'
|
||||
#TS_NODE_PROJECT=tsconfig.test.json mocha -r ts-node/register -r esm src/**/*.spec.ts
|
||||
|
||||
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 -fsanitize=float-divide-by-zero -g -o ./testcpp -Isrc/cpp/include src/cpp/packedrtree.cpp src/cpp/test/run_tests.cpp
|
||||
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
|
||||
./testcpp -d yes
|
||||
|
||||
echo -e '\033[1;33m--- Running Java tests ---'
|
||||
cd src/java && mvn test
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user