mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/python-jc: new package
All dependencies are optional, and thus only mentioned in the package help text. Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu> [Arnout: - add to DEVELOPERS; - add BSD-3-Clause license for vendored pbPlist. ] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle
parent
4308c270a7
commit
2ce680b991
22
support/testing/tests/package/test_python_jc.py
Normal file
22
support/testing/tests/package/test_python_jc.py
Normal file
@@ -0,0 +1,22 @@
|
||||
from tests.package.test_python import TestPythonPackageBase
|
||||
|
||||
|
||||
class TestPythonPy3Jc(TestPythonPackageBase):
|
||||
__test__ = True
|
||||
# We deliberately run the test without the optional dependencies,
|
||||
# as this configuration is less tested upstream.
|
||||
config = TestPythonPackageBase.config + \
|
||||
"""
|
||||
BR2_PACKAGE_PYTHON3=y
|
||||
BR2_PACKAGE_PYTHON_JC=y
|
||||
"""
|
||||
timeout = 60
|
||||
|
||||
def test_run(self):
|
||||
self.login()
|
||||
cmd = "jc -h > /dev/null 2>&1"
|
||||
self.assertRunOk(cmd, timeout=self.timeout)
|
||||
cmd = "jc id | grep -q root"
|
||||
self.assertRunOk(cmd, timeout=self.timeout)
|
||||
cmd = "jc env | grep -q PATH"
|
||||
self.assertRunOk(cmd, self.timeout)
|
||||
Reference in New Issue
Block a user