Skip to content

Commit

Permalink
issue #8 add 5.2.2 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dibyendu Majumdar committed Oct 8, 2016
1 parent 7b022d4 commit ef23b70
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions lua-5.2.2-tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Lua 5.2.2 Test Suite

This directory contains a modified version of the Lua 5.2.2 test suite. The modifications are primarily to disable or amend some tests
so that the test suite can be run.

## LuaJIT build options

LUA 5.2 compatibility must be turned on.

## Running the test suite

You need to have `luajit` on your path.

On UNIX systems just execute:
```
sh run.sh
```

## Tests disabled or ignored
Wherever tests have been switched off or ignored a comment has been added and the code has been made conditional. These failures will
be investigated and either the tests will be modified or permanently disabled depending upon whether the issue is one of compatibility
or a defect in LuaJIT.

Example of excluded test:
```
-- FIXME tests fail in LuaJIT
-- dofile('main.lua')
```

0 comments on commit ef23b70

Please sign in to comment.