summaryrefslogtreecommitdiff
path: root/lib/erl_interface/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Teach ei_print_term() to print funsBjörn Gustavsson2019-05-292-11/+79
| | |
* | | Teach ei_print_term() to print mapsBjörn Gustavsson2019-05-292-18/+74
| | |
* | | Correct decoding of external funsBjörn Gustavsson2019-05-212-3/+6
|/ /
* | erl_interface: Tweak bit string encode/decode APISverker Eriksson2019-04-264-18/+103
| | | | | | | | | | to support zero copy decoding and bit offset arguments for future unaligned bit strings.
* | erl_interface: Add bitstring and export fun supportSverker Eriksson2019-04-179-17/+146
| |
* | erl_interface: Refactor ei_decode_SUITESverker Eriksson2019-04-121-61/+61
| | | | | | | | unmacrofy some code
* | erl_interface: Remove ei_get_type_internal()Sverker Eriksson2019-04-122-6/+0
| | | | | | | | same as ei_get_type()
* | Revert "erl_interface: Remove old encoding of pid,port,refs"Sverker Eriksson2019-04-091-8/+2
| | | | | | | | This reverts commit 78ea501bcc84bd8bd49da97e514c1c3b20682d86.
* | erl_interface: Remove old encoding of pid,port,refsSverker Eriksson2019-03-221-2/+8
|/ | | | with tiny creation.
* Add smoke test for erl_callRickard Green2019-03-182-0/+97
|
* Introduce ei_init()Rickard Green2019-02-059-2/+59
| | | | | | 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).
* Pluggable distribution socket implementation for EIRickard Green2019-01-234-108/+70
|
* Update copyright yearHenrik Nord2018-09-2118-18/+18
|
* Test for lists that aren't well definedSimon Cornish2018-08-141-0/+12
|
* erl_interface: Seal test case memory leaksSverker Eriksson2018-07-184-14/+15
| | | | to appease valgrind.
* erl_interface: Add valgrind ability for test port programsSverker Eriksson2018-07-1616-110/+204
| | | | Run under valgrind if environment variable VALGRIND_LOG_DIR is set.
* Update copyright yearHenrik Nord2018-06-184-4/+4
|
* Merge branch 'lukas/ei/fix_tmo_test'Lukas Larsson2018-03-291-0/+1
|\ | | | | | | | | * lukas/ei/fix_tmo_test: ei: Include stdlib.h to fix malloc usage in ei test
| * ei: Include stdlib.h to fix malloc usage in ei testLukas Larsson2018-03-131-0/+1
| |
* | erts: Fix erlang:monitor toward c-nodesSverker Eriksson2017-11-233-4/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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?
* | erl_interface: Add tuple fallback testsSverker Eriksson2017-11-151-24/+21
| | | | | | | | DFLAG_EXPORT_PTR_TAG and DFLAG_BIT_BINARIES
* | erl_interface: Refactor ei_accept_SUITESverker Eriksson2017-11-152-5/+37
|/ | | | in order to call ei_publish() separately.
* Fix erl_interface testsRickard Green2017-06-142-9/+9
|
* Update copyright yearRaimo Niskanen2017-05-046-6/+6
|
* erl_interface: Do not generate atoms on old latin1 ext formatSverker Eriksson2017-03-085-40/+50
| | | | | Solved by letting ei_encode_atom_as ignore 'to_enc' argument and always encode in UTF8 format.
* Fixed typos in lib/erl_interfaceAndrew Dryga2017-02-142-2/+2
|
* Merge branch 'lukas/erts/testfixes-19'Lukas Larsson2016-06-141-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * erl_interface: Fix signed int overflow tc bugLukas Larsson2016-06-141-2/+2
| |
* | erl_interface: Fix trace level tracing on windowsLukas Larsson2016-06-141-2/+4
| |
* | erl_interface: Fix decode_ulong on windowsLukas Larsson2016-06-141-2/+8
|/
* erl_interface: Fix race bug in ei tests on OpenBSDSverker Eriksson2016-05-132-1/+5
| | | | | | Must call erl_init() to create mutex "ei_gethost_sem". The lazy initialization done in my_gethostbyname_r is not thread-safe.
* Merge branch 'henrik/update-copyrightyear'Henrik Nord2016-04-1376-76/+76
|\ | | | | | | | | * henrik/update-copyrightyear: update copyright-year
| * update copyright-yearHenrik Nord2016-03-1576-76/+76
| |
* | erl_interface: Support 32-bit creation for pid,port,refsSverker Eriksson2016-04-074-56/+74
| |
* | erl_interface: Cuddle test ei_tmo_SUITESverker Eriksson2016-04-072-6/+9
| | | | | | | | Increase max number of messages sent to fill buffers.
* | test_server,erl_interface: Add test_host_not_reachable configSverker Eriksson2016-04-071-4/+6
| |
* | Remove forgotten lineBjörn-Egil Dahlberg2016-04-071-1/+0
| |
* | Eliminate use of test_server:fail/0,1Björn-Egil Dahlberg2016-03-218-32/+33
| |
* | Cleanup test codeBjörn-Egil Dahlberg2016-03-212-125/+39
| |
* | Remove unncecessary exportsBjörn-Egil Dahlberg2016-03-219-202/+45
| |
* | Eliminate suite and doc clausesBjörn-Egil Dahlberg2016-03-2111-111/+9
| |
* | Replace ?config() macro with proplists:get_value()Björn-Egil Dahlberg2016-03-215-9/+9
| |
* | Modernize timetrapsBjörn-Egil Dahlberg2016-03-218-155/+34
| |
* | Eliminate ?line macrosBjörn-Egil Dahlberg2016-03-2115-2099/+2045
|/
* Eliminate use of test_server.hrl and test_server_line.hrlBjörn Gustavsson2016-02-1715-15/+15
| | | | | | | 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.
* Change license text to APLv2Bruce Yinhe2015-06-1876-750/+826
|
* Fix one-letter typoDavid N. Welton2014-12-151-1/+1
|
* erts: Change external format for mapsSverker Eriksson2014-03-141-2/+3
| | | | | | | | | | 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.
* erl_interface: Add test for ei_skip_term of container termsSverker Eriksson2014-03-101-38/+101
|
* erl_interface: Fix mem leak in ei_decode_encode_testSverker Eriksson2014-03-103-3/+8
|