Remove unused test file for lua-gd

This commit is contained in:
Théophile Diot 2025-01-16 10:22:39 +01:00
parent 402afb17ae
commit 4f5d1919c3
No known key found for this signature in database
GPG key ID: FA995104A0BA376A

View file

@ -1,24 +0,0 @@
#!/usr/bin/env lua
local gd = require("gd")
function enabled(res, desc)
local str = " " .. desc .. " "
str = str .. string.rep(".", 37 - string.len(str))
if res then
print(str .. " Enabled")
else
print(str .. " Disabled")
end
end
print("Lua-GD version: " .. gd.VERSION)
print("Lua-GD features:")
enabled(gd.png, "PNG support")
enabled(gd.gif, "GIF support")
enabled(gd.jpeg, "JPEG support")
enabled(gd.createFromXpm, "XPM/XBM support")
enabled(gd.stringFT, "FreeType support")
enabled(gd.useFontConfig, "Fontconfig support")