A few tests cases will fail if you have not done
"make release". (One example is
xref_SUITE:md/1 in tools.)
I think that the best way for us to help you is
if you can share the names of the failed
test cases in the following test suites:
emulator_test
stdlib_test
kernel_test
We should be able to tell you which ones
that are most likely real bugs, and which
ones that fail because of envioronmental
issues.
/Björn
> _______________________________________________
> erlang-questions mailing list
> erlang-q...@erlang.org
> http://erlang.org/mailman/listinfo/erlang-questions
>
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
When should we do this exactly?
It is not mentioned here: https://github.com/erlang/otp/wiki/Running-tests
Cheers,
--
Loïc Hoguin
https://ninenines.eu
After building Erlang/OTP, do "make release". Then you will
have to run the Install script. On my Linux system the
commands would be:
make release
cd release/x86_64-unknown-linux-gnu
./Install `pwd`
When running the tests, started the released Erlang/OTP
system like this:
$ERL_TOP/release/x86_64-unknown-linux-gnu/bin/erl
(Then do ts:install(), ts:run() etc as in the instruction.)
> It is not mentioned here: https://github.com/erlang/otp/wiki/Running-tests
It is not mentioned because there are only a few test cases
that must be run in an installed system.
/Björn
--
Björn Gustavsson, Erlang/OTP, Ericsson AB
OK FAIL SKIP TOTAL
crypto_test: 111 1 3 115
OK FAIL SKIP TOTAL
crypto_test: 107 5 3 115
It seems to have been approved now. I have received the other email.
I have taken a quick look at the log.
The major problem is that many test cases that call init_per_SUITE fail
when they attempt to compile C code during the running of the test suite,
especially when running emulator_tests. You should be able to
find more information from the generated html files. Starting
with index.html, you could click on test.emulator_test. On that page,
you could click on the links for the failed test cases. On the
page for a failed init_per_SUITE test case, you should be able
to see why the compilation failed. (Those failed test cases cause
all test in the same module to be skipped.)
On other thing so far: erl_boot_server_SUITE is not a good test
suite. It has some hard-coded assumptions about our
testing environment. It will fail outside our lab.
/Björn
Yes, it seems that not all necessary include files are included.
Without those files, it is not possible to compile drivers
or NIF libraries.
To avoid debugging an incorrect RPM .spec and failing test
cases at the same time, I suggest that you ignore the RPM
for now and use our git repository, at least on FC25.
Out wiki pages should contain enough information:
https://github.com/erlang/otp/wiki
If you would prefer to fix the RPM .spec, you must make sure that
the following files are copied to the same directory as erl_nif.h:
erl_fixed_size_int_types.h
erl_int_sizes_config.h
erl_memory_trace_parser.h
That is, in your case, the files should be in:
/root/rpmbuild/BUILD/otp-OTP-19.2.3/erts/emulator/beam