summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/test.bbclass14
-rw-r--r--packages/quilt/quilt-native.inc5
2 files changed, 19 insertions, 0 deletions
diff --git a/classes/test.bbclass b/classes/test.bbclass
new file mode 100644
index 0000000000..71afe88404
--- /dev/null
+++ b/classes/test.bbclass
@@ -0,0 +1,14 @@
+#
+# Tasks specific to QA testing of packages
+#
+# For native and cross packages we want to test
+# immediately for other packages we want to package
+# the tests including a test
+#
+
+
+addtask test after do_compile
+test_do_test () {
+ :
+}
+
diff --git a/packages/quilt/quilt-native.inc b/packages/quilt/quilt-native.inc
index c8bbdc8e07..b7ddd8bce8 100644
--- a/packages/quilt/quilt-native.inc
+++ b/packages/quilt/quilt-native.inc
@@ -14,3 +14,8 @@ EXTRA_OECONF = "--disable-nls"
do_configure () {
oe_runconf
}
+
+do_test() {
+ oe_runmake check
+}
+