12
0
lua-resty-mysql/lua-resty-mysql-0.27.tar.gz
Matej Cepl 395a1955ec Accepting request 1171863 from home:13ilya
Even after creating the perl-Test-Nginx package, the tests still don't run.
You can run the pm file from the t directory as I did before, but it doesn't run the tests, it just does NOT return errors at the end of initialization.

The make file specifies the following

OPENRESTY_PREFIX=/usr/local/openresty
....
test: all
	PATH=$(OPENRESTY_PREFIX)/nginx/sbin:$$PATH prove -I../test-nginx/lib -r t

That is, I can NOT even override OPENRESTY_PREFIX, which is hardcoded and I have no idea where to get the test-nginx directory from.

Apparently these tests are for internal testing only.
If upstream writes how to run the tests properly, I'll add them, but it's better not to run them at all than to create the appearance of testing!

In any case, tests for noarch with empty %build section are not necessary.
I test them in a real environment with nginx-module-lua and I have lua-resty libraries working.

OBS-URL: https://build.opensuse.org/request/show/1171863
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-resty-mysql?expand=0&rev=1
2024-05-10 15:32:21 +00:00

4 lines
131 B
Plaintext

version https://git-lfs.github.com/spec/v1
oid sha256:ee8aedefffff5a924c12172ca027a9db15fb0034d38b71991795de9cdc0bc975
size 128105