12
0

2 Commits

Author SHA256 Message Date
Илья Индиго
e0915ff3e5 - Updated to 0.31.
* Upstream doesn't provide a ChangeLog.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-resty-redis?expand=0&rev=3
2024-08-28 06:20:12 +00:00
f898981d07 Accepting request 1171864 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/1171864
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-resty-redis?expand=0&rev=1
2024-05-10 15:32:33 +00:00