Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v3 0/2] test: cleanup tests code
@ 2020-03-20 12:50 Alexander V. Tikhonov
  2020-03-20 12:50 ` [Tarantool-patches] [PATCH v3 1/2] " Alexander V. Tikhonov
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Alexander V. Tikhonov @ 2020-03-20 12:50 UTC (permalink / raw)
  To: Igor Munkin; +Cc: tarantool-patches

test: cleanup tests code
    
Cleaned up the tests code according to the Lua style guide:
- made scoped variables local
- added os.exit call at the end of the test chunk
- adjusted the messages in test:ok calls

Renamed test files in the following way:
<repo>-<number>-<comment>.test.lua
where "<repo>" is github repository:
  gh - tarantool/tarantool
  lj - LuaJIT/LuaJIT
  or - openresty/luajit2
    
Close #4655

---

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

commit 1a00fc69881893cc376e78815fdfee12b9e038b3
Author: Alexander V. Tikhonov <avtikhon@tarantool.org>
Date:   Wed Dec 11 17:24:16 2019 +0300

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

 ... gh-3196-incorrect-string-length.test.lua} |  8 +++----
 ...h-4476-fix-string-find-recording.test.lua} |  6 ++---
 ...lj-494-table-chain-infinite-loop.test.lua} | 23 ++++++++++---------
 ...j-505-fold-no-strref-for-ptrdiff.test.lua} |  7 +++---
 ...lj-524-fold-conv-respect-src-irt.test.lua} |  4 ++--
 ...est.lua => or-232-unsink-64-kptr.test.lua} |  7 +++---
 6 files changed, 29 insertions(+), 26 deletions(-)
 rename test/{gh.test.lua => gh-3196-incorrect-string-length.test.lua} (56%)
 rename test/{fix_string_find_recording.test.lua => gh-4476-fix-string-find-recording.test.lua} (95%)
 rename test/{table_chain_bug_LuaJIT_494.test.lua => lj-494-table-chain-infinite-loop.test.lua} (89%)
 rename test/{fold_bug_LuaJIT_505.test.lua => lj-505-fold-no-strref-for-ptrdiff.test.lua} (68%)
 rename test/{fold_bug_LuaJIT_524.test.lua => lj-524-fold-conv-respect-src-irt.test.lua} (85%)
 rename test/{unsink_64_kptr.test.lua => or-232-unsink-64-kptr.test.lua} (86%)

-- 
2.17.1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-03-20 15:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-20 12:50 [Tarantool-patches] [PATCH v3 0/2] test: cleanup tests code Alexander V. Tikhonov
2020-03-20 12:50 ` [Tarantool-patches] [PATCH v3 1/2] " Alexander V. Tikhonov
2020-03-20 13:46   ` Igor Munkin
2020-03-20 14:10     ` Alexander Tikhonov
2020-03-20 12:50 ` [Tarantool-patches] [PATCH v3 2/2] test: rename test files Alexander V. Tikhonov
2020-03-20 13:47   ` Igor Munkin
2020-03-20 14:27 ` [Tarantool-patches] [PATCH v3 0/2] test: cleanup tests code Igor Munkin
2020-03-20 15:06 ` Kirill Yukhin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox