Message ID | f36c8377fdd2226d77182c7d7e553b3eaa9b273d.1384260784.git.kiho@prevas.dk |
---|---|
State | New |
Delegated to: | Esben Haabendal |
Headers | show |
diff --git a/recipes/test/dosplittest-create-dir.oe b/recipes/test/dosplittest-create-dir.oe new file mode 100644 index 0000000..501954d --- /dev/null +++ b/recipes/test/dosplittest-create-dir.oe @@ -0,0 +1,7 @@ +RECIPE_TYPES = "native" + +FILES_${PN} += "/foo" + +do_install(){ + mkdir ${D}/foo +} diff --git a/recipes/test/dosplittest-dang-syml.oe b/recipes/test/dosplittest-dang-syml.oe new file mode 100644 index 0000000..d10bf28 --- /dev/null +++ b/recipes/test/dosplittest-dang-syml.oe @@ -0,0 +1,9 @@ +RECIPE_TYPES = "native" + +FILES_${PN} += "/foo /bar /baz /boo" + +do_install(){ + ln -s ${D}/foo ${D}/bar + cd ${D} + ln -s baz boo +} diff --git a/recipes/test/dosplittest-dir.oe b/recipes/test/dosplittest-dir.oe new file mode 100644 index 0000000..902f32e --- /dev/null +++ b/recipes/test/dosplittest-dir.oe @@ -0,0 +1,7 @@ +RECIPE_TYPES = "native" + +FILES_${PN} += "/blah" +do_install(){ + mkdir ${D}/blah + touch ${D}/blah/baz ${D}/blah/moose +} diff --git a/recipes/test/dosplittest-file-in-mult-pkg.oe b/recipes/test/dosplittest-file-in-mult-pkg.oe new file mode 100644 index 0000000..d925e20 --- /dev/null +++ b/recipes/test/dosplittest-file-in-mult-pkg.oe @@ -0,0 +1,8 @@ +RECIPE_TYPES = "native" + +FILES_${PN} += "/foo" +FILES_${PN}-dev += "/foo" + +do_install(){ + touch ${D}/foo +} diff --git a/recipes/test/dosplittest-glob.oe b/recipes/test/dosplittest-glob.oe new file mode 100644 index 0000000..37c6fe3 --- /dev/null +++ b/recipes/test/dosplittest-glob.oe @@ -0,0 +1,8 @@ +RECIPE_TYPES = "native" + +FILES_${PN} += "/foo/*" + +do_install(){ + mkdir ${D}/foo + touch ${D}/foo/bar ${D}/foo/baz +} diff --git a/recipes/test/dosplittest-no-packages.oe b/recipes/test/dosplittest-no-packages.oe new file mode 100644 index 0000000..d36682a --- /dev/null +++ b/recipes/test/dosplittest-no-packages.oe @@ -0,0 +1,3 @@ +RECIPE_TYPES = "native" + +PACKAGES="" diff --git a/recipes/test/dosplittest-really-dang-sym.oe b/recipes/test/dosplittest-really-dang-sym.oe new file mode 100644 index 0000000..6e467fb --- /dev/null +++ b/recipes/test/dosplittest-really-dang-sym.oe @@ -0,0 +1,8 @@ +RECIPE_TYPES = "native" + +FILES_${PN} += "/foo" +FILES_${PN}-dev += "/bar" +do_install(){ + touch ${D}/foo + ln -s ./foo ${D}/bar +} diff --git a/recipes/test/dosplittest-unshipped.oe b/recipes/test/dosplittest-unshipped.oe new file mode 100644 index 0000000..566a6b5 --- /dev/null +++ b/recipes/test/dosplittest-unshipped.oe @@ -0,0 +1,6 @@ +TASK_EXPECTED_FAILURE="do_split" +RECIPE_TYPES = "native" + +do_install(){ + touch ${D}/foo +}
From: Kim Højgaard-Hansen <kiho@prevas.dk> --- recipes/test/dosplittest-create-dir.oe | 7 +++++++ recipes/test/dosplittest-dang-syml.oe | 9 +++++++++ recipes/test/dosplittest-dir.oe | 7 +++++++ recipes/test/dosplittest-file-in-mult-pkg.oe | 8 ++++++++ recipes/test/dosplittest-glob.oe | 8 ++++++++ recipes/test/dosplittest-no-packages.oe | 3 +++ recipes/test/dosplittest-really-dang-sym.oe | 8 ++++++++ recipes/test/dosplittest-unshipped.oe | 6 ++++++ 8 files changed, 56 insertions(+) create mode 100644 recipes/test/dosplittest-create-dir.oe create mode 100644 recipes/test/dosplittest-dang-syml.oe create mode 100644 recipes/test/dosplittest-dir.oe create mode 100644 recipes/test/dosplittest-file-in-mult-pkg.oe create mode 100644 recipes/test/dosplittest-glob.oe create mode 100644 recipes/test/dosplittest-no-packages.oe create mode 100644 recipes/test/dosplittest-really-dang-sym.oe create mode 100644 recipes/test/dosplittest-unshipped.oe