diff options
author | Björn Gustavsson <[email protected]> | 2015-04-20 09:56:50 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2015-04-22 10:12:32 +0200 |
commit | 7dd42ae8d9faa195f9a7b39014504fc225895b41 (patch) | |
tree | 8187b4b9f39d796d772530d7c83310df35a0d4f9 /lib/compiler/test/bs_construct_SUITE.erl | |
parent | 37996d71a60f8aa4dd1078a7903098aa656b9e35 (diff) | |
download | otp-7dd42ae8d9faa195f9a7b39014504fc225895b41.tar.gz otp-7dd42ae8d9faa195f9a7b39014504fc225895b41.tar.bz2 otp-7dd42ae8d9faa195f9a7b39014504fc225895b41.zip |
Add z_SUITE to validate loaded code
If we want to have test cases that run eprof, we must make sure that
there are no modules loaded that don't have a working module_info/1
function, since eprof calls module_info(functions) to retrieve the
list of functions in the module. Some test cases load modules compiled
from Core Erlang that don't have any module_info/1 functions, so
we will need make sure that all such modules have been unloaded.
Add z_SUITE:loaded/1 to run after all other test cases to verify that
all modules that the code server consider loaded are indeed loaded and
all have working module_info/0,1 functions.
Diffstat (limited to 'lib/compiler/test/bs_construct_SUITE.erl')
0 files changed, 0 insertions, 0 deletions