aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/test
AgeCommit message (Collapse)Author
2019-03-22erl_interface: Remove old encoding of pid,port,refsSverker Eriksson
with tiny creation.
2019-03-18Add smoke test for erl_callRickard Green
2019-02-05Introduce ei_init()Rickard Green
You previously had to initialize ei via erl_init() which implied that you were forced to link against the erl_interface even when not using it (besides initializing ei).
2019-01-23Pluggable distribution socket implementation for EIRickard Green
2018-09-21Update copyright yearHenrik Nord
2018-08-14Test for lists that aren't well definedSimon Cornish
2018-07-18erl_interface: Seal test case memory leaksSverker Eriksson
to appease valgrind.
2018-07-16erl_interface: Add valgrind ability for test port programsSverker Eriksson
Run under valgrind if environment variable VALGRIND_LOG_DIR is set.
2018-06-18Update copyright yearHenrik Nord
2018-03-29Merge branch 'lukas/ei/fix_tmo_test'Lukas Larsson
* lukas/ei/fix_tmo_test: ei: Include stdlib.h to fix malloc usage in ei test
2018-03-13ei: Include stdlib.h to fix malloc usage in ei testLukas Larsson
2017-11-23erts: Fix erlang:monitor toward c-nodesSverker Eriksson
by suppressing DOP_MONITOR_P, DOP_MONITOR_P_EXIT and DOP_DEMONITOR_P if not supported by the remote node. In 17e198d6ee60f7dec9abfed272cf4226aea44535 I changed the behavior of erlang:monitor to not raise badarg for c-nodes but instead create a monitor to only supervise the connection. But I forgot to prevent DOP_MONITOR_P and friends from being sent to the node that does not expect them. Note: We test both DFLAG_DIST_MONITOR and DFLAG_DIST_MONITOR_NAME for the node to support process monitoring. This is because erl_interface is buggy as it sets DFLAG_DIST_MONITOR without really supporting it. ToDo: Should erl_interface stop setting DFLAG_DIST_MONITOR or should we change the meaning of these flags?
2017-11-15erl_interface: Add tuple fallback testsSverker Eriksson
DFLAG_EXPORT_PTR_TAG and DFLAG_BIT_BINARIES
2017-11-15erl_interface: Refactor ei_accept_SUITESverker Eriksson
in order to call ei_publish() separately.
2017-06-14Fix erl_interface testsRickard Green
2017-05-04Update copyright yearRaimo Niskanen
2017-03-08erl_interface: Do not generate atoms on old latin1 ext formatSverker Eriksson
Solved by letting ei_encode_atom_as ignore 'to_enc' argument and always encode in UTF8 format.
2017-02-14Fixed typos in lib/erl_interfaceAndrew Dryga
2016-06-14Merge branch 'lukas/erts/testfixes-19'Lukas Larsson
* lukas/erts/testfixes-19: erts: Increase bif and nif call_time trace test erts: Fix distribution_SUITE:bulk_send_bigbig on windows erts: Ensure bs_add_overflow test has enough memory kernel: Better explain controlling_process' tcp behaviour kernel: Fix t_recv_delim on bsd os_mon: Make sure to start/stop os_mon in tests correctly ssl: Fix use_interface dist_SSL test erl_interface: Fix signed int overflow tc bug erts: fix atom_roundtrip_r15b tc erts: Require more memory for debug tests
2016-06-14erl_interface: Fix trace level tracing on windowsLukas Larsson
2016-06-14erl_interface: Fix decode_ulong on windowsLukas Larsson
2016-06-14erl_interface: Fix signed int overflow tc bugLukas Larsson
2016-05-13erl_interface: Fix race bug in ei tests on OpenBSDSverker Eriksson
Must call erl_init() to create mutex "ei_gethost_sem". The lazy initialization done in my_gethostbyname_r is not thread-safe.
2016-04-13Merge branch 'henrik/update-copyrightyear'Henrik Nord
* henrik/update-copyrightyear: update copyright-year
2016-04-07erl_interface: Support 32-bit creation for pid,port,refsSverker Eriksson
2016-04-07erl_interface: Cuddle test ei_tmo_SUITESverker Eriksson
Increase max number of messages sent to fill buffers.
2016-04-07test_server,erl_interface: Add test_host_not_reachable configSverker Eriksson
2016-04-07Remove forgotten lineBjörn-Egil Dahlberg
2016-03-21Eliminate use of test_server:fail/0,1Björn-Egil Dahlberg
2016-03-21Cleanup test codeBjörn-Egil Dahlberg
2016-03-21Remove unncecessary exportsBjörn-Egil Dahlberg
2016-03-21Eliminate suite and doc clausesBjörn-Egil Dahlberg
2016-03-21Replace ?config() macro with proplists:get_value()Björn-Egil Dahlberg
2016-03-21Modernize timetrapsBjörn-Egil Dahlberg
2016-03-21Eliminate ?line macrosBjörn-Egil Dahlberg
2016-03-15update copyright-yearHenrik Nord
2016-02-17Eliminate use of test_server.hrl and test_server_line.hrlBjörn Gustavsson
As a first step to removing the test_server application as as its own separate application, change the inclusion of test_server.hrl to an inclusion of ct.hrl and remove the inclusion of test_server_line.hrl.
2015-06-18Change license text to APLv2Bruce Yinhe
2014-12-15Fix one-letter typoDavid N. Welton
2014-03-14erts: Change external format for mapsSverker Eriksson
to be: 116,Arity, K1,V1,K2,V2,...,Kn,Vn instead of: 116,Arity, K1,K2,...,Kn, V1,V2,....,Vn We think this will be better for future internal map structures like HAMT. Would be bad if we need to iterate twice over HAMT in term_to_binary, one for keys and one for values.
2014-03-10erl_interface: Add test for ei_skip_term of container termsSverker Eriksson
2014-03-10erl_interface: Fix mem leak in ei_decode_encode_testSverker Eriksson
2014-03-06erl_interface: test decode/encode of mapsSverker Eriksson
2014-03-06erl_interface: test decode_encode of tuples and listsSverker Eriksson
2014-03-06erl_interface: refactor ei_decode_encode_test.cSverker Eriksson
to prepare for lists, tuples and ... maps!
2014-02-24erts: Set default external enc to use new float schemeLukas Larsson
This change was triggered by the OSE float printing function not working exactly the same way as linux/win32. But it is also a good one in general as it cuts size in more than half for floats.
2013-10-14Merge branch 'maint'Fredrik Gustafsson
2013-09-12Remove ^L characters hidden randomly in the code. Not those used in text ↵Pierre Fenoll
files as delimiters. While working on a tool that processes Erlang code and testing it against this repo, I found out about those little sneaky 0xff. I thought it may be of help to other people build such tools to remove non-conforming-to-standard characters.
2013-09-04Merge branch 'maint'Fredrik Gustafsson
2013-08-30Fix location of true binary under Mac OSXSimon Cornish