[Tarantool-patches] [PATCH v2 luajit 02/45] test: actualize <LuaJIT-tests/README.md>
Sergey Kaplun
skaplun at tarantool.org
Wed Aug 21 11:58:05 MSK 2024
This patch syncs up the description of the LuaJIT-tests suite with the
current status. Also, it adds a description of the subcategories of
tests on which future patches will be based.
Relates to tarantool/tarantool#9398
---
test/LuaJIT-tests/README.md | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/test/LuaJIT-tests/README.md b/test/LuaJIT-tests/README.md
index ff16ac8e..210ca232 100644
--- a/test/LuaJIT-tests/README.md
+++ b/test/LuaJIT-tests/README.md
@@ -91,19 +91,28 @@ Your test(s) should not write to stdout or stderr, nor should they mutate
global state. After your test(s) are written, you should be able to determine
which features they require, and put on metadata appropriately.
+## Subcategories of tests ##
+
+The currently valid and runable tests are placed in the following directories:
+
+* `bc` -- tests for the current bytecode implementation.
+* `lang` -- testing the language implementation. This includes parsing, error
+ handling, GC behaviour, etc.
+* `lib` -- namely, tests for built-in libraries.
+* `opt` -- tests for JIT compiler optimizations.
+* `trace` -- tests for JIT compiler behaviour (including `phi` subdirectory).
+
## Completing the tidy-up of the test suite ##
Some files/directories in this directory need some thought:
* `common/ffi_util.inc` - Needs renaming and being made `require`-able.
- * `lib/ffi` - Tests need converting to structure described in this document.
* `lib/table/misc.lua` - Tests need organising and converting to structure
described in this document.
* `misc` - Tests need organising and converting to structure described in
this document.
* `src` - C/C++ source which needs to be compiled into a dynamic library and
- loaded for certain tests. Need to figure out a good way of handling
- C/C++ source.
+ loaded for certain tests.
* `sysdep` - Need to figure out a good way of handling these.
* `unportable` - Need to figure out a good way of handling these.
--
2.45.2
More information about the Tarantool-patches
mailing list