diff options
Diffstat (limited to 'meta-selftest')
-rw-r--r-- | meta-selftest/lib/pseudo_pyc_test1.py | 1 | ||||
-rw-r--r-- | meta-selftest/lib/pseudo_pyc_test2.py | 1 | ||||
-rw-r--r-- | meta-selftest/recipes-test/pseudo-pyc-test/pseudo-pyc-test.bb | 15 |
3 files changed, 17 insertions, 0 deletions
diff --git a/meta-selftest/lib/pseudo_pyc_test1.py b/meta-selftest/lib/pseudo_pyc_test1.py new file mode 100644 index 0000000000..b59abdd536 --- /dev/null +++ b/meta-selftest/lib/pseudo_pyc_test1.py | |||
@@ -0,0 +1 @@ | |||
STRING = "pseudo_pyc_test1" | |||
diff --git a/meta-selftest/lib/pseudo_pyc_test2.py b/meta-selftest/lib/pseudo_pyc_test2.py new file mode 100644 index 0000000000..fb67a978e0 --- /dev/null +++ b/meta-selftest/lib/pseudo_pyc_test2.py | |||
@@ -0,0 +1 @@ | |||
STRING = "pseudo_pyc_test2" | |||
diff --git a/meta-selftest/recipes-test/pseudo-pyc-test/pseudo-pyc-test.bb b/meta-selftest/recipes-test/pseudo-pyc-test/pseudo-pyc-test.bb new file mode 100644 index 0000000000..12dc91a8f3 --- /dev/null +++ b/meta-selftest/recipes-test/pseudo-pyc-test/pseudo-pyc-test.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | SUMMARY = "pseudo env test" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
4 | |||
5 | INHIBIT_DEFAULT_DEPS = "1" | ||
6 | |||
7 | python do_compile() { | ||
8 | import pseudo_pyc_test1 | ||
9 | print(pseudo_pyc_test1.STRING) | ||
10 | } | ||
11 | |||
12 | python do_install() { | ||
13 | import pseudo_pyc_test2 | ||
14 | print(pseudo_pyc_test2.STRING) | ||
15 | } | ||