classes/test.bbclass: Add a new task called test which we can run after compile
authorHolger Freyther <zecke@selfish.org>
Sun, 17 Sep 2006 19:33:35 +0000 (19:33 +0000)
committerHolger Freyther <zecke@selfish.org>
Sun, 17 Sep 2006 19:33:35 +0000 (19:33 +0000)
packages/quilt/quilt-native.inc: Run make check for quilt native
    Run make check for quilt-native from the do_test task. This
    will run the first native test. If the test fails quilt will
    fail.
    The tests will only be run if you do INHERIT+=test

classes/test.bbclass [new file with mode: 0644]
packages/quilt/quilt-native.inc

diff --git a/classes/test.bbclass b/classes/test.bbclass
new file mode 100644 (file)
index 0000000..71afe88
--- /dev/null
@@ -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 () {
+    :
+}
+
index c8bbdc8..b7ddd8b 100644 (file)
@@ -14,3 +14,8 @@ EXTRA_OECONF = "--disable-nls"
 do_configure () {
        oe_runconf
 }
+
+do_test() {
+    oe_runmake check
+}
+