Open
Conversation
Also update test for changes to the table library.
This adds many FFI tests to the test runner. It also fixes loading of C libraries by the test suite, by loading them before the global environment is frozen.
Author
|
Added ~200 new test to the test runner. |
|
Regression? |
lukego
added a commit
to lukego/LuaJIT-test-cleanup
that referenced
this pull request
Mar 14, 2017
I have cherry-picked this change from commit 52015c1 of @DemiMarie's `fixed-goto` branch published at LuaJIT#13. I hope it is right! :-)
|
I don't think this is a regression. These commits add ffi tests to the runner, so you need to compile libraries from test/src. Also, make sure that your libraries are in a place where they can be found (you might need to export appropriate LUA_CPATH). |
|
To me it looks like a regression because prior to these changes the instructions in |
|
Oh, I see what you're saying. I didn't look at it that way. :) |
Author
|
There are some tests still failing. I believe that they indicate genuine bugs in either LuaJIT or the test suite. I fixed the instructions in |
This adds many FFI tests. It also fixes tests for the contents of the string and math libraries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Also update test for changes to the table library.