[Tarantool-patches] [PATCH v1 0/2] Correct luajit tests

Alexander V. Tikhonov avtikhon at tarantool.org
Mon Dec 16 11:43:48 MSK 2019


    test: fix style and code
    
    Renamed test files in the following way:
    [gh-[external repo]-<number>-]comment.test.lua
    where "external repo" is github repository:
      lj - luajit/luajit
      lrc - openresty/lua-resty-core
    
    Added local definitions for the variables, added os.exit()
    routine at the tests finish. Changed added information messages
    to test:ok() calls.
    
    Close #4655

Github: https://github.com/tarantool/luajit/tree/avtikhon/gh-4655-cleanup-tests
Github: https://github.com/tarantool/tarantool/tree/avtikhon/gh-4655-cleanup-tests
Issue: https://github.com/tarantool/tarantool/issues/4655

Alexander V. Tikhonov (2):
  test: cleanup tests code
  test: rename test files

 test/fix_string_find_recording.test.lua       |  6 ++---
 ... gh-3196-incorrect-string-length.test.lua} |  8 +++----
 ...st.lua => gh-4560-pairsmm-is-set.test.lua} |  8 ++++---
 ...t.lua => gh-lj-494-infinite-loop.test.lua} | 23 ++++++++++---------
 ...gh-lj-505-fold-icorrect-behavior.test.lua} |  7 +++---
 ...gh-lj-524-fold-icorrect-behavior.test.lua} |  2 +-
 ....lua => gh-lrc-64-unsink-64-kptr.test.lua} |  7 +++---
 7 files changed, 33 insertions(+), 28 deletions(-)
 rename test/{gh.test.lua => gh-3196-incorrect-string-length.test.lua} (60%)
 rename test/{pairsmm_tarantool_4560.test.lua => gh-4560-pairsmm-is-set.test.lua} (90%)
 rename test/{table_chain_bug_LuaJIT_494.test.lua => gh-lj-494-infinite-loop.test.lua} (90%)
 rename test/{fold_bug_LuaJIT_505.test.lua => gh-lj-505-fold-icorrect-behavior.test.lua} (75%)
 rename test/{fold_bug_LuaJIT_524.test.lua => gh-lj-524-fold-icorrect-behavior.test.lua} (94%)
 rename test/{unsink_64_kptr.test.lua => gh-lrc-64-unsink-64-kptr.test.lua} (88%)

-- 
2.17.1



More information about the Tarantool-patches mailing list