Robert Yang
829d6bf005
insane/package: refactor packaging sanity tests
...
Refactor packaging sanity tests from package.bbclass to insane.bbclass
so that the message can respect WARN_QA (print the warning message and
go on the task) and ERROR_QA (print the error message and fail the
task).
- For the bb.warn(), give it a message name and add it to WARN_QA, then
use package_qa_handle_error() to handle it.
- For the bb.error(), give it a message name and add it to ERROR_QA,
then use package_qa_handle_error() to handle it.
- All the bb.warn() and bb.error() have been replaced in
package.bbclass.
- A few bb.warn() and bb.error() in insane.bbclass have been kept since
they can not be replaced or doesn't have to, for example the
bb.error() in package_qa_check_license(), it will print the error
message and then invoke bb.fatal() to fail the task, I think that we
don't have to replace it with package_qa_handle_error().
- Put all the WARN_QA and ERROR_QA in one line, so that they can be
redefined by the user easily.
[YOCTO #3190 ]
[YOCTO #4396 ]
(From OE-Core rev: 2f117ee615b703db07d3274ac592e2bd653743dd)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com >
Signed-off-by: Saul Wold <sgw@linux.intel.com >
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org >
2013-06-07 16:48:27 +01:00
..
2012-11-26 10:01:23 +00:00
2013-05-07 13:58:26 +01:00
2013-05-07 13:58:26 +01:00
2013-05-07 13:58:26 +01:00
2013-04-03 17:01:13 +01:00
2010-04-27 17:11:28 +01:00
2013-06-04 11:50:24 +01:00
2013-05-09 14:06:51 +01:00
2012-09-10 13:01:46 +01:00
2013-03-18 13:18:24 +00:00
2012-05-11 17:50:49 +01:00
2013-05-16 00:09:46 +03:00
2013-05-10 10:25:29 +01:00
2012-08-21 12:15:30 +01:00
2013-06-04 11:43:35 +01:00
2013-05-09 22:28:03 +01:00
2012-07-10 14:25:38 +01:00
2012-12-14 08:53:41 +00:00
2013-05-24 14:14:44 +01:00
2013-05-29 22:18:49 +01:00
2012-12-26 11:34:07 +00:00
2013-01-07 14:43:24 +00:00
2013-05-12 09:37:31 +01:00
2013-01-25 12:42:42 +00:00
2013-02-04 16:42:48 +00:00
2013-04-29 14:45:06 +01:00
2012-11-21 16:56:03 +00:00
2013-05-24 14:14:46 +01:00
2012-11-21 16:56:03 +00:00
2013-02-01 15:54:02 +00:00
2010-10-05 22:26:33 +01:00
2013-02-19 08:47:36 -08:00
2013-03-22 16:54:37 +00:00
2012-10-02 11:40:50 +01:00
2012-11-21 16:56:00 +00:00
2012-03-05 10:22:56 -08:00
2012-12-17 17:24:57 +00:00
2012-03-01 15:56:50 +00:00
2013-04-29 14:45:10 +01:00
2013-02-17 22:32:03 +00:00
2012-04-22 15:59:56 +01:00
2011-11-10 11:37:11 +00:00
2012-11-02 16:18:31 +00:00
2012-08-25 14:47:00 +01:00
2012-09-05 22:25:23 +01:00
2013-03-05 17:13:51 +00:00
2013-04-29 14:45:10 +01:00
2013-05-09 14:06:50 +01:00
2012-07-26 14:56:20 +01:00
2013-04-11 15:44:23 +01:00
2012-02-29 18:25:03 +00:00
2013-05-21 00:18:42 +01:00
2011-07-27 12:02:46 +01:00
2012-11-24 15:12:28 +00:00
2012-08-07 12:56:34 +01:00
2011-11-10 11:51:18 +00:00
2013-01-24 20:09:00 +00:00
2013-05-12 09:37:32 +01:00
2013-05-23 10:28:04 +01:00
2013-05-12 08:33:16 +01:00
2013-06-07 16:48:27 +01:00
2009-11-13 12:15:42 +00:00
2013-04-28 12:12:21 +01:00
2013-05-09 14:06:51 +01:00
2013-05-09 16:05:08 +01:00
2013-05-24 14:14:45 +01:00
2013-01-07 11:09:42 +00:00
2012-11-14 14:38:27 +00:00
2013-05-09 22:28:04 +01:00
2013-04-10 09:23:18 +01:00
2011-07-01 23:34:18 +01:00
2011-04-28 10:45:41 +01:00
2007-09-01 22:17:06 +00:00
2013-05-09 22:28:04 +01:00
2013-01-28 14:49:04 +00:00
2013-02-17 22:32:03 +00:00
2012-09-10 13:01:45 +01:00
2010-08-10 14:47:41 +01:00
2013-02-01 15:54:31 +00:00
2013-03-05 13:14:50 +00:00
2013-05-09 14:06:51 +01:00
2013-02-14 12:36:08 +00:00
2013-04-18 21:12:19 +01:00
2013-04-11 12:20:35 +01:00
2012-11-21 16:56:03 +00:00
2006-11-20 15:19:39 +00:00
2011-03-15 01:19:26 +00:00
2013-05-09 22:28:04 +01:00
2013-05-09 22:28:04 +01:00
2013-05-16 00:09:47 +03:00
2013-02-17 22:32:04 +00:00
2013-06-07 16:48:27 +01:00
2013-01-24 20:09:00 +00:00
2013-04-18 00:37:57 +01:00
2013-04-04 14:10:56 +01:00
2012-09-14 17:12:43 +01:00
2012-07-26 14:56:20 +01:00
2013-05-30 20:59:09 +01:00
2012-03-05 10:22:56 -08:00
2012-07-19 10:24:50 +01:00
2012-10-18 12:13:12 +01:00
2013-05-02 17:41:55 +01:00
2013-03-23 17:40:27 +00:00
2013-03-23 17:40:27 +00:00
2013-03-23 17:40:27 +00:00
2012-09-02 05:52:06 -07:00
2012-12-06 12:31:16 +00:00
2012-03-08 12:16:29 -08:00
2013-01-25 12:42:43 +00:00
2013-04-11 12:20:35 +01:00
2011-10-31 22:03:22 +00:00
2012-07-26 14:56:20 +01:00
2013-04-29 14:45:10 +01:00
2011-01-20 21:37:01 +00:00
2013-05-29 22:14:18 +01:00
2012-10-03 10:02:21 +01:00
2012-10-03 10:02:21 +01:00
2012-10-18 12:13:39 +01:00
2012-08-02 15:28:39 +01:00
2013-05-24 14:14:48 +01:00
2013-03-23 11:41:13 +00:00
2013-03-23 11:41:13 +00:00
2013-03-29 10:40:54 +00:00
2013-06-04 11:43:35 +01:00
2012-03-26 23:29:44 +01:00
2012-02-21 17:00:46 +00:00
2012-08-24 17:25:15 +01:00
2013-02-04 23:31:02 +00:00
2012-09-28 15:19:42 +01:00
2013-05-29 22:14:17 +01:00
2013-06-04 11:43:35 +01:00
2013-02-06 13:13:00 +00:00
2013-05-16 00:09:46 +03:00
2013-05-09 14:06:50 +01:00
2013-02-19 08:47:36 -08:00
2012-08-21 12:15:30 +01:00
2013-05-16 00:09:49 +03:00
2012-05-11 17:50:50 +01:00
2013-05-22 17:16:55 +01:00
2013-05-09 14:06:50 +01:00
2013-05-09 22:28:03 +01:00
2012-08-18 16:23:59 +01:00
2013-05-30 21:10:23 +01:00