1
0
mirror of https://github.com/luanti-org/minetestmapper.git synced 2025-10-06 05:45:21 +02:00

Extend functional tests

This commit is contained in:
sfan5
2025-02-18 19:10:46 +01:00
parent b4d4632212
commit 0f51edcb1f
3 changed files with 102 additions and 16 deletions

View File

@@ -18,15 +18,3 @@ run_build() {
make -j2
}
do_functional_test() {
mkdir testmap
echo "backend = sqlite3" >testmap/world.mt
sqlite3 testmap/map.sqlite <<END
CREATE TABLE blocks(pos INT,data BLOB);
INSERT INTO blocks(pos, data) VALUES(0, x'$(cat util/ci/test_block)');
END
./minetestmapper --noemptyimage -i ./testmap -o map.png
file map.png
}