From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng1.m.smailru.net (smtpng1.m.smailru.net [94.100.181.251]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id F232D446439 for ; Sat, 3 Oct 2020 16:55:29 +0300 (MSK) References: <20201001135113.329664-1-gorcunov@gmail.com> <20201001135113.329664-7-gorcunov@gmail.com> From: Vladislav Shpilevoy Message-ID: <66ad0de9-2fe5-6069-7778-b31529a76408@tarantool.org> Date: Sat, 3 Oct 2020 15:55:28 +0200 MIME-Version: 1.0 In-Reply-To: <20201001135113.329664-7-gorcunov@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH v4 6/6] test: box/cfunc -- add simple module test List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Cyrill Gorcunov , tml Cc: Alexander Turenko Thanks for the patch! > diff --git a/test/box/cfunc.result b/test/box/cfunc.result > new file mode 100644 > index 000000000..beb07d775 > --- /dev/null > +++ b/test/box/cfunc.result > @@ -0,0 +1,116 @@ > +-- test-run result file version 2 > +build_path = os.getenv("BUILDDIR") > + | --- > + | ... > +package.cpath = build_path..'/test/box/?.so;'..build_path..'/test/box/?.dylib;'..package.cpath > + | --- > + | ... > + > +cfunc = require('cfunc') > + | --- > + | ... > +fio = require('fio') > + | --- > + | ... > + > +cfunc_path = fio.pathjoin(build_path, "test/box/cfunc.so") > + | --- > + | ... > +cfunc1_path = fio.pathjoin(build_path, "test/box/cfunc1.so") > + | --- > + | ... > +cfunc2_path = fio.pathjoin(build_path, "test/box/cfunc2.so") .so files don't exist on Mac. I didn't read the tests carefully yet, until we agree on API.