10
0

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
This commit is contained in:
2024-05-10 15:32:33 +00:00
committed by Git OBS Bridge
commit f898981d07
5 changed files with 78 additions and 0 deletions

4
lua-resty-redis.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed May 1 02:11:25 UTC 2024 - Илья Индиго <ilya@ilya.top>
- Initialized 0.29.