- 15 Feb, 2016 1 commit
-
-
Michal 'vorner' Vaner authored
-
- 12 Feb, 2016 2 commits
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
- 10 Feb, 2016 4 commits
-
-
Michal 'vorner' Vaner authored
By embedding part of lunit into a binary and bending the startup machinery to our needs. The original lunit launcher couldn't be used, because we include bunch of functions and modules directly into our interpreter (either from auto-loaded lua files or from C code).
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
Fill the result of loaded chunk into the package.loaded, so future require(name) works on such preloaded module. Make it work with module() in the code as well. Also, fix segfault when passing NULL as results parameter to interpreter_call.
-
- 05 Feb, 2016 1 commit
-
-
Michal 'vorner' Vaner authored
• Add the logging functions to lua as well as C code. • Add few tests for the lua logging (to check the magic with generating functions). • Turn off logging in make check (they still may be run manually to get all the logging).
-
- 04 Feb, 2016 5 commits
-
-
Michal 'vorner' Vaner authored
And use them through the code. Also use provided ASSERT macro instead of assert(), to ensure it is not compiled out and the output is logged to all future locations the logs would go.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
• Replace the event_active call with separate event with 0 timeout. The original didn't seem to work. • Run multiple children in parallel to ensure the event loop can handle that as well. • Limit number of valgrind iterations (just to make it run faster).
-
Michal 'vorner' Vaner authored
Some tests failed with timeout. Make it larger as an attempt to verify if it is because of long running time or lockup.
-
Michal 'vorner' Vaner authored
-
- 03 Feb, 2016 5 commits
-
-
Michal 'vorner' Vaner authored
The event loop & ability to wait for PIDs. Not used or tested yet.
-
Michal 'vorner' Vaner authored
Provide an error handler. Also, store the auto-loaded "modules" to global space.
-
Michal 'vorner' Vaner authored
Implement the interpreter_collect_results functions; pass the tests.
-
Michal 'vorner' Vaner authored
Pass parameters given to interpreter_call to the actual lua function. Some more progress with the tests O:-).
-
Michal 'vorner' Vaner authored
But without the parameters. Tests still don't pass, but some get further.
-
- 02 Feb, 2016 3 commits
-
-
Michal 'vorner' Vaner authored
Provide declarations of functions to call lua functions from C conveniently. Also, make some tests about them. But as the implementation is just a dummy, they don't pass.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
This way we may use the loaded code in tests.
-
- 01 Feb, 2016 13 commits
-
-
Michal 'vorner' Vaner authored
These'll later work as libraries of functions to be called at convenient time.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
• Remove some unnecessary cruft. • Prefix the test binaries with ctest-, so they don't clash with anything. • Make it work with more than one test binary.
-
Michal 'vorner' Vaner authored
Create and destroy an interpreter in the opkg-trans program.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
This is not nuci configuration server (copy-pasted from there).
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
- 29 Jan, 2016 4 commits
-
-
Michal 'vorner' Vaner authored
At least in the only scenario where it can run successfully now ‒ requesting help.
-
Michal 'vorner' Vaner authored
Be able to terminate correctly, be able to print help. Inform about the other operations not being implemented yet.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
-
- 28 Jan, 2016 2 commits
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
• Provide more errors • Run the checks in non-fork mode to avoid some leaks • Generate error exit code if anything is found
-