[Tarantool-patches] [PATCH v2 luajit 03/30] test: adapt Lua 5.1 suite for out-of-source build

Igor Munkin imun at tarantool.org
Thu Apr 1 01:58:23 MSK 2021


Sergey,

Thanks for the patch! Honestly, I'm not fond of the solution you
implemented, though it allows to make as little changes as possible.
I propose to implement something similar to the solution you've made
within lua-Harness series:
* You need two <dofile> functions: one for launching source files for
  additional checks and another one for running temporary Lua chunks.
* You also need two <loadstring> functions for the same reason.

Mind the fact <dofile> is implemented via <loadstring>, so basically,
there might be no so much changes made for <dofile>. Thoughts?

-- 
Best regards,
IM


More information about the Tarantool-patches mailing list