Files
codezero/containers/posix/taskOrder.py
Russel Winder 5974a327d0 Various changes post sorting out some of the issues regarding task ordering.
test0 cannot be the first task in the list as it must have a prior physical_base.lds in order to create test_exec_linker.lds.
mm0 appears to have to precede fs0 for the tests to execute on start.  This should be considered a bug.
2009-08-30 10:12:12 +01:00

32 lines
1.3 KiB
Python

# -*- mode: python; coding: utf-8; -*-
# Codezero -- a microkernel for embedded systems.
#
# Copyright © 2009 B Labs Ltd
#
# This program is free software: you can redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
# the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
# License for more details.
#
# You should have received a copy of the GNU General Public License along with this program. If not, see
# <http://www.gnu.org/licenses/>.
#
# Author: Russel Winder
# A sequence determining the order of tasks in the packing.
####
#### TODO: Why do the tests only run when mm0 precedes fs0 in the load list?
####
# NB test0 cannot be the first task in the list because of the processing of test_exec_linker.lds.in.
#taskOrder = ('mm0', 'fs0', 'test0')# Works fine.
#taskOrder = ('fs0', 'mm0', 'test0')# Compiles, loads and executes fine, but does not execute the tests.
#taskOrder = ('fs0', 'test0', 'mm0')# Compiles, loads and executes fine, but does not execute the tests.
taskOrder = ('mm0', 'test0', 'fs0')# Works fine.