summaryrefslogtreecommitdiff
path: root/classes/test.bbclass
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2006-09-17 19:33:35 +0000
committerHolger Freyther <zecke@selfish.org>2006-09-17 19:33:35 +0000
commit41755fb3756a95642b14f560b889a0add9ddd7a2 (patch)
tree9bf03457604ec1a26096dd2fbd5e448631c44fe8 /classes/test.bbclass
parenta672badcc140334a68d83f70416ef2a74139af59 (diff)
classes/test.bbclass: Add a new task called test which we can run after compile
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
Diffstat (limited to 'classes/test.bbclass')
-rw-r--r--classes/test.bbclass14
1 files changed, 14 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 () {
+ :
+}
+