diff options
author | Sverker Eriksson <[email protected]> | 2016-05-17 17:37:26 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2016-05-17 17:37:26 +0200 |
commit | 7392c48c0c4ff35f9d9d1887c7d4fd396732c3de (patch) | |
tree | c9631c3311d1b054ff822120e98c54d3e8b41de7 /lib/erl_interface | |
parent | 6a8d830deb612e453dee66eabb68f6a7a4d77396 (diff) | |
parent | be923fedf5b2496ac2b8da1afaae54635410891f (diff) | |
download | otp-7392c48c0c4ff35f9d9d1887c7d4fd396732c3de.tar.gz otp-7392c48c0c4ff35f9d9d1887c7d4fd396732c3de.tar.bz2 otp-7392c48c0c4ff35f9d9d1887c7d4fd396732c3de.zip |
Merge branch 'sverker/test-einode-core'
Diffstat (limited to 'lib/erl_interface')
-rw-r--r-- | lib/erl_interface/test/ei_connect_SUITE_data/Makefile.src | 3 | ||||
-rw-r--r-- | lib/erl_interface/test/ei_connect_SUITE_data/einode.c | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/erl_interface/test/ei_connect_SUITE_data/Makefile.src b/lib/erl_interface/test/ei_connect_SUITE_data/Makefile.src index 5b82f0bfcf..c2d8261dd8 100644 --- a/lib/erl_interface/test/ei_connect_SUITE_data/Makefile.src +++ b/lib/erl_interface/test/ei_connect_SUITE_data/Makefile.src @@ -23,9 +23,10 @@ include @erl_interface_mk_include@ CC0 = @CC@ CC = ..@DS@all_SUITE_data@DS@gccifier@exe@ -CC"$(CC0)" LD = @LD@ +LIBERL = @erl_interface_lib@ LIBEI = @erl_interface_eilib@ LIBFLAGS = ../all_SUITE_data/ei_runner@obj@ \ - $(LIBEI) @LIBS@ @erl_interface_sock_libs@ \ + $(LIBERL) $(LIBEI) @LIBS@ @erl_interface_sock_libs@ \ @erl_interface_threadlib@ CFLAGS = @EI_CFLAGS@ $(THR_DEFS) -I@erl_interface_include@ -I../all_SUITE_data EI_CONNECT_OBJS = ei_connect_test@obj@ ei_connect_test_decl@obj@ diff --git a/lib/erl_interface/test/ei_connect_SUITE_data/einode.c b/lib/erl_interface/test/ei_connect_SUITE_data/einode.c index e1d46ae59a..bb71575740 100644 --- a/lib/erl_interface/test/ei_connect_SUITE_data/einode.c +++ b/lib/erl_interface/test/ei_connect_SUITE_data/einode.c @@ -35,6 +35,7 @@ #endif #include "ei.h" +#include "erl_interface.h" #ifdef VXWORKS #define MAIN cnode @@ -115,6 +116,8 @@ MAIN(int argc, char *argv[]) if (argc < 3) exit(1); + erl_init(NULL, 0); + cookie = argv[1]; n = atoi(argv[2]); if (n > 100) |