From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] support/testing: add luaposix test
Date: Thu, 01 Aug 2019 10:12:16 +0200 [thread overview]
Message-ID: <87a7ct484f.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20190721085143.6857-2-francois.perrad@gadz.org> (Francois Perrad's message of "Sun, 21 Jul 2019 10:51:43 +0200")
>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Committed, thanks.
> ---
> .../testing/tests/package/test_luaposix.py | 81 +++++++++++++++++++
> 1 file changed, 81 insertions(+)
> create mode 100644 support/testing/tests/package/test_luaposix.py
> diff --git a/support/testing/tests/package/test_luaposix.py b/support/testing/tests/package/test_luaposix.py
> new file mode 100644
> index 000000000..0182faf2f
> --- /dev/null
> +++ b/support/testing/tests/package/test_luaposix.py
> @@ -0,0 +1,81 @@
> +from tests.package.test_lua import TestLuaBase
> +
> +
> +class TestLuaLuaPosix(TestLuaBase):
> + config = TestLuaBase.config + \
> + """
> + BR2_PACKAGE_LUA=y
> + BR2_PACKAGE_LUAPOSIX=y
> + """
> +
> + def test_run(self):
> + self.login()
> + self.module_test("posix.version", "print(require[[posix.version]])")
> + self.module_test("posix.ctype")
> + self.module_test("posix.dirent")
> + self.module_test("posix.errno")
> + self.module_test("posix.fcntl")
> + self.module_test("posix.fnmatch")
> + self.module_test("posix.glob")
> + self.module_test("posix.grp")
> + self.module_test("posix.libgen")
> + self.module_test("posix.poll")
> + self.module_test("posix.pwd")
> + self.module_test("posix.sched")
> + self.module_test("posix.signal")
> + self.module_test("posix.stdio")
> + self.module_test("posix.stdlib")
> + self.module_test("posix.sys.msg")
> + self.module_test("posix.sys.resource")
> + self.module_test("posix.sys.socket")
> + self.module_test("posix.sys.stat")
> + self.module_test("posix.sys.statvfs")
> + self.module_test("posix.sys.time")
> + self.module_test("posix.sys.times")
> + self.module_test("posix.sys.utsname")
> + self.module_test("posix.sys.wait")
> + self.module_test("posix.syslog")
> + self.module_test("posix.termio")
> + self.module_test("posix.time")
> + self.module_test("posix.unistd")
> + self.module_test("posix.utime")
> +
> +
> +class TestLuajitLuaPosix(TestLuaBase):
> + config = TestLuaBase.config + \
> + """
> + BR2_PACKAGE_LUAJIT=y
> + BR2_PACKAGE_LUAPOSIX=y
> + """
> +
> + def test_run(self):
> + self.login()
> + self.module_test("posix.version", "print(require[[posix.version]])")
> + self.module_test("posix.ctype")
> + self.module_test("posix.dirent")
> + self.module_test("posix.errno")
> + self.module_test("posix.fcntl")
> + self.module_test("posix.fnmatch")
> + self.module_test("posix.glob")
> + self.module_test("posix.grp")
> + self.module_test("posix.libgen")
> + self.module_test("posix.poll")
> + self.module_test("posix.pwd")
> + self.module_test("posix.sched")
> + self.module_test("posix.signal")
> + self.module_test("posix.stdio")
> + self.module_test("posix.stdlib")
> + self.module_test("posix.sys.msg")
> + self.module_test("posix.sys.resource")
> + self.module_test("posix.sys.socket")
> + self.module_test("posix.sys.stat")
> + self.module_test("posix.sys.statvfs")
> + self.module_test("posix.sys.time")
> + self.module_test("posix.sys.times")
> + self.module_test("posix.sys.utsname")
> + self.module_test("posix.sys.wait")
> + self.module_test("posix.syslog")
> + self.module_test("posix.termio")
> + self.module_test("posix.time")
> + self.module_test("posix.unistd")
> + self.module_test("posix.utime")
> --
> 2.20.1
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2019-08-01 8:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-21 8:51 [Buildroot] [PATCH 1/2] package/luaposix: bump to version 34.1 Francois Perrad
2019-07-21 8:51 ` [Buildroot] [PATCH 2/2] support/testing: add luaposix test Francois Perrad
2019-08-01 8:12 ` Peter Korsgaard [this message]
2019-08-01 8:12 ` [Buildroot] [PATCH 1/2] package/luaposix: bump to version 34.1 Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a7ct484f.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox