Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various tests fixes #75

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

E-Fir
Copy link
Member

@E-Fir E-Fir commented Feb 3, 2021

No description provided.

…als-lua5_1}: tests are BROKEN_IF cannot load lua-aplicado shell module
[run]   test/cases/0230-tserialize-metatables.lua       Suite `metatables test' failed:
 * Test `2': Metatable not ignored (i)
 * Test `3': Metatable not ignored (i)
@E-Fir E-Fir requested a review from agladysh February 3, 2021 13:30
@E-Fir E-Fir mentioned this pull request Feb 3, 2021
LUA51 = _VERSION == 'Lua 5.1'
LUA52 = _VERSION == 'Lua 5.2'
LUA53 = _VERSION == 'Lua 5.3'
LUA54 = _VERSION == 'Lua 5.4'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ой

что это и зачем? :(((

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

это глобальные переменные времени выполнения тестов, чтобы было удобно писать например test:BROKEN_IF(LUA52 or LUA53):....

введение именно таких глобальных переменных выглядит для меня самым удачным решением для целей, которые я обозначил

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

использование глобальных переменных недопустимо

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

эту правку я уже видел в #74. что происходит?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants