aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/test/Makefile
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2015-04-20 09:56:50 +0200
committerBjörn Gustavsson <[email protected]>2015-04-22 10:12:32 +0200
commit7dd42ae8d9faa195f9a7b39014504fc225895b41 (patch)
tree8187b4b9f39d796d772530d7c83310df35a0d4f9 /lib/compiler/test/Makefile
parent37996d71a60f8aa4dd1078a7903098aa656b9e35 (diff)
downloadotp-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/Makefile')
-rw-r--r--lib/compiler/test/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/test/Makefile b/lib/compiler/test/Makefile
index e1498e564e..98125fc84e 100644
--- a/lib/compiler/test/Makefile
+++ b/lib/compiler/test/Makefile
@@ -35,6 +35,7 @@ MODULES= \
record_SUITE \
trycatch_SUITE \
warnings_SUITE \
+ z_SUITE \
test_lib
NO_OPT= \