Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-04-19 | code:clash/0: match correct return value from erl_prim_loader:list_dir/1 | Tuncer Ayaz | |
erl_prim_loader:list_dir/1 returns error on failure and not {error,_}. Also update tests in code_SUITE:clash/1. Defect was introduced with fix for listing .ez archives in 49da83de4b. Initial code:clash/0 tests added in 79194d5fa7. Signed-off-by: Tuncer Ayaz <[email protected]> | |||
2010-02-06 | code_SUITE: add missing is_list(Config) guard | Björn Gustavsson | |
2010-02-06 | Add tests for code:clash/0 | Tuncer Ayaz | |
Add first batch of tests for code:clash/0. Signed-off-by: Tuncer Ayaz <[email protected]> | |||
2010-02-05 | Fix typo in kernel/test/code_SUITE | Tuncer Ayaz | |
There was a small typo in the doc function clause of ext_mod_dep. Signed-off-by: Tuncer Ayaz <[email protected]> | |||
2009-12-13 | Test on_load functions that don't return 'ok' | Björn Gustavsson | |
2009-12-13 | Change the expected return value for on_load functions | Björn Gustavsson | |
An on_load function is supposed to return 'true' to indicate that the module should be loaded, and 'false' if it should be unloaded. But returning any other term, as well as causing an exception, will also unload the module. Since we don't like boolean values mixed with other values, change the expected return value as follows: * If 'ok' is returned, the module will remain loaded and become callable. * If any other value is returned (or an exception is generated), the module will be unloaded. Also, if the returned value is not an atom, send a warning message to the error_logger (using error_logger:warning_msg/2). The new interpretation of the return value means that an on_load function can now directly return the return value from erlang:load_nif/2. | |||
2009-11-20 | The R13B03 release.OTP_R13B03 | Erlang/OTP | |