[erlang-questions] Running Test Suites and Generating Docs

Jayson Vantuyl kagato@REDACTED
Tue Jan 5 11:58:12 CET 2010


After running the tests, I've got another patch on the way to fix some brokenness there.

As for the docs, this doesn't work when I try to build them.  I get the following error:

> date=`date +"%B %e %Y"`; \
> 	xsltproc --noout --stringparam outdir ../html --stringparam docgen "/Users/kagato/otp/lib/erl_docgen" --stringparam topdocdir "../../../doc" \
> 		--stringparam pdfdir "../pdf" \
> 		--stringparam gendate "$date" --stringparam appname "erts" --stringparam appver "5.7.5" --xinclude \
> 		-path /Users/kagato/otp/lib/erl_docgen/priv/docbuilder_dtd -path /Users/kagato/otp/lib/erl_docgen/priv/dtd_html_entities /Users/kagato/otp/lib/erl_docgen/priv/xsl/db_html.xsl book.xml
> compilation error: file /Users/kagato/otp/lib/erl_docgen/priv/xsl/db_html.xsl line 659 element param
> The value '$curModule' of the attribute 'name' is not a valid QName.
> make: *** [../html/index.html] Error 5

Tips?

On Jan 4, 2010, at 8:12 AM, Björn Gustavsson wrote:

> On Mon, Jan 4, 2010 at 3:51 PM, Jayson Vantuyl <kagato@REDACTED> wrote:
>> How do I run the test suites that come with OTP?
> 
> See http://wiki.github.com/erlang/otp/running-tests
> 
>> How do I generate the OTP docs?  i can't seem to find any information in the build tree.
> 
> cd to the source for the documentation for an application/sub-system,
> for example
> 
>   cd erts/doc/src
> 
> and then do
> 
>   make html
> 
> -- 
> Björn Gustavsson, Erlang/OTP, Ericsson AB
> 
> ________________________________________________________________
> erlang-questions mailing list. See http://www.erlang.org/faq.html
> erlang-questions (at) erlang.org
> 



More information about the erlang-questions mailing list