This would allow us to drop compile-time option in favour of runtime configuration. We do compile all schedulers anyway, so it's a minor step to select them in runtime. This would allow us to do code coverage for non-default schedulers.
----------------github------------------------ /** Email created from pull request 467 (lumag:sched-env) ** https://github.com/Linaro/odp/pull/467 ** Patch: https://github.com/Linaro/odp/pull/467.patch ** Base sha: 3984ba4cd16a02e3fa98ccd432a06663de3fa993 ** Merge commit sha: 62438643661dee1350bce73f90120c824538df8b **/ ----------------/github------------------------ ----------------checkpatch.pl------------------------ total: 0 errors, 0 warnings, 0 checks, 45 lines checked to_send-p-000.patch has no obvious style problems and is ready for submission. total: 0 errors, 0 warnings, 0 checks, 44 lines checked to_send-p-001.patch has no obvious style problems and is ready for submission. WARNING: externs should be avoided in .c files #82: FILE: platform/linux-generic/odp_queue_if.c:15: +extern const queue_api_t queue_basic_api; WARNING: externs should be avoided in .c files #83: FILE: platform/linux-generic/odp_queue_if.c:16: +extern const queue_fn_t queue_basic_fn; WARNING: externs should be avoided in .c files #131: FILE: platform/linux-generic/odp_schedule_if.c:15: +extern const schedule_fn_t schedule_basic_fn; WARNING: externs should be avoided in .c files #132: FILE: platform/linux-generic/odp_schedule_if.c:16: +extern const schedule_api_t schedule_basic_api; total: 0 errors, 4 warnings, 0 checks, 86 lines checked to_send-p-002.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 0 warnings, 0 checks, 139 lines checked to_send-p-003.patch has no obvious style problems and is ready for submission. total: 0 errors, 0 warnings, 0 checks, 37 lines checked to_send-p-004.patch has no obvious style problems and is ready for submission. total: 0 errors, 0 warnings, 0 checks, 15 lines checked to_send-p-005.patch has no obvious style problems and is ready for submission. total: 0 errors, 0 warnings, 0 checks, 33 lines checked to_send-p-006.patch has no obvious style problems and is ready for submission. ----------------/checkpatch.pl------------------------