Lua/Scripts:Standard/Test/Tstcallf
Talk0
538pages on
this wiki
this wiki
< Lua
Contents |
CHDK/SCRIPTS/TEST/TSTCALLF.LUA
Edit
This is a standard test script included in the full CHDK distribution. It is used to verify the correct function of the Native function call API.
The script calls several Event Procedures and compares the results with expected results. Detailed results are written to A/TSTCALLF.LOG, and either OK or the number of failures is printed in the console.
Mode Option
Edit
- 0 normal test, event procedures only.
- >0 call a machine code function constructed in RAM, in addition to above.
Dependencies
Edit
- CHDK must be built with compile time OPT_LUA_CALL_NATIVE defined.
- This script is supported only in CHDK Version 0.9.9 build 864 and later