aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2012-01-10 14:17:43 +0100
committerBjörn Gustavsson <[email protected]>2012-02-08 10:59:03 +0100
commit344f187ec3488cbc7b5a3d75bd8cc08f3b4fefab (patch)
treebe734a563f8fa7ac6dd3b92c35ee34a23185a630 /erts/test
parentd0394af6541d99bd72192d35fc4986016c3a6589 (diff)
downloadotp-344f187ec3488cbc7b5a3d75bd8cc08f3b4fefab.tar.gz
otp-344f187ec3488cbc7b5a3d75bd8cc08f3b4fefab.tar.bz2
otp-344f187ec3488cbc7b5a3d75bd8cc08f3b4fefab.zip
bif_SUITE: Add test case for specs and BIF stubs
Rename the existing types/1 test case to erl_bif_types/1 to make it clearer what it does. Also no longer test for missing type information for BIFs (since it has become optional), but only check that the information provided seems to be consistent. Introduce the specs/1 test case to ensure that all BIFs have specs. Also introduce improper_bif_stubs/1 to check for proper stubs. Since the BEAM loader will now silently allow stubs for BIFs, we want to be particular about exactly what a stub look like, so that an Erlang function is not unintentionally overridden by a BIF.
Diffstat (limited to 'erts/test')
0 files changed, 0 insertions, 0 deletions