test: rewrite test for gh-1700 with luatest
As a result of the patch, all required files are moved to app-luatest subdirectory. introducing the following layout: app-luatest/ |- <name>_test.lua |- lib/ |- CMakeLists.txt |- <libname>.c The test itself is rewritten via <justrun> and <treegen> helpers to make it more clear and easy to maintain. Since luatest provides <skip_if> helper, .skipcond file is not necessary anymore and is removed. Needed for #8252 NO_DOC=refactoring NO_TEST=refactoring NO_CHANGELOG=refactoring
Showing
- test/CMakeLists.txt 1 addition, 0 deletionstest/CMakeLists.txt
- test/app-luatest/gh_1700_abort_recording_on_fiber_switch_test.lua 80 additions, 0 deletions...-luatest/gh_1700_abort_recording_on_fiber_switch_test.lua
- test/app-luatest/lib/CMakeLists.txt 1 addition, 0 deletionstest/app-luatest/lib/CMakeLists.txt
- test/app-luatest/lib/libyield.c 0 additions, 0 deletionstest/app-luatest/lib/libyield.c
- test/app-tap/CMakeLists.txt 0 additions, 1 deletiontest/app-tap/CMakeLists.txt
- test/app-tap/gh-1700-abort-recording-on-fiber-switch.skipcond 0 additions, 7 deletions.../app-tap/gh-1700-abort-recording-on-fiber-switch.skipcond
- test/app-tap/gh-1700-abort-recording-on-fiber-switch.test.lua 0 additions, 79 deletions.../app-tap/gh-1700-abort-recording-on-fiber-switch.test.lua
Loading