aboutsummaryrefslogtreecommitdiffstats
path: root/erts/test
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-09-08 12:22:41 +0200
committerBjörn Gustavsson <[email protected]>2011-09-08 12:25:50 +0200
commit83e81e574d6a85655936e2a68025f81fbb12a0a1 (patch)
treeb439b556a63ea3360bcb5d6999f44415957c7cbf /erts/test
parent0f6a66498e789f70ee42e28c0270e74334944fe5 (diff)
downloadotp-83e81e574d6a85655936e2a68025f81fbb12a0a1.tar.gz
otp-83e81e574d6a85655936e2a68025f81fbb12a0a1.tar.bz2
otp-83e81e574d6a85655936e2a68025f81fbb12a0a1.zip
erts: Add a sanity check to autoimport_SUITE
If we fail to parse out any functions from erlang.xml, make sure that we fail.
Diffstat (limited to 'erts/test')
-rw-r--r--erts/test/autoimport_SUITE.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/test/autoimport_SUITE.erl b/erts/test/autoimport_SUITE.erl
index ca54f375aa..71ed5204b1 100644
--- a/erts/test/autoimport_SUITE.erl
+++ b/erts/test/autoimport_SUITE.erl
@@ -89,6 +89,7 @@ xml(XMLFile) ->
{ok,File} = file:open(XMLFile,[read]),
xskip_to_funcs(file:read_line(File),File),
DocData = xloop(file:read_line(File),File),
+ true = DocData =/= [],
file:close(File),
analyze(DocData).