<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#ffffff">
Hi all,<br>
I'm trying the Erlang/OTP test_server, but always get the error: <br>
<blockquote>Eshell V5.7.2 (abort with ^G)<br>
1> ts:install().<br>
Running configure for cross architecture, network target name<br>
{unix,linux}<br>
{error,enoent}<br>
2><br>
</blockquote>
After debug the ts_install.erl, it looks like the ts requires file:
conf_vars, while there is only one <a class="moz-txt-link-freetext" href="file:conf_vars.in">file:conf_vars.in</a> in the test_server
directory. Would you mind having a look at this and help me out? Thanks
in advance.<br>
<br>
The detailed steps are following:<br>
<blockquote>1 download Erlang/OTP (R13B03 now) from <a
href="http://www.erlang.org/download.html">here</a>, and unpack it get
dir: otp_src_R13B03
<p>2 download test_server-3.1.1.tar.gz,
emulator-tests-2004-05-26.tar.gz and stdlib-tests-2004-05-26.tar.gz
from <a href="http://www.erlang.org/project/test_server/">here</a>,
and unpack to dir: otp_src_R13B03</p>
<p>3 cd otp_src_R13B03 and export ERL_TOP=`pwd`</p>
<p>4 ./configure and make</p>
<p>5 mkdir /home/sunny/codes_in_git/erlang_test for test
codes.(TESTROOT)</p>
<p>6.1 cd lib/test_server/ ( orignally from test_server-3.1.1.tar.gz
)
and make release_tests TESTROOT=/home/sunny/codes_in_git/erlang_test/</p>
<p>6.2 cd lib/stdlib/test/ ( orignally from
stdlib-tests-2004-05-26.tar.gz ) and make release_tests
TESTROOT=/home/sunny/codes_in_git/erlang_test/</p>
<p>6.3 cd erts/emulator/test/ ( orignally from
emulator-tests-2004-05-26.tar.gz ) and make release_tests
TESTROOT=/home/sunny/codes_in_git/erlang_test/</p>
</blockquote>
Though I can't install ts, but when I run: ts:tests(), the returns
looks right:<br>
<blockquote>7> ts:tests().<br>
[emulator,stdlib]<br>
</blockquote>
Please let me know if you need anything more.<br>
<br>
Thanks,<br>
Eric<br>
</body>
</html>