Initial creation of trunk, tags, branches
Initial checkin
core: add the new stepper core to the autotest wrapper
core: ensure the job and thereby stepper knows the control file
core: move to using the control file prefix for the stepper state
Was trying to rename non-existant control file. Add if os.path.exists
test around it
Remove 'ENTERING RESTORE' ttyprint from autotest_utils.py
Fixed up autodir variable issues
Use abspath on control file in bin/autotest
Make test_job conform to new wrapped interface spec
Make autotest copy control file to temporary file for execution
Remove job.job call from self-test/test_kernbench
tests: add flow control tests

Add the basic flow control test controls scripts I have been using
to exercise the stepper.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
autotest: use no args to represent continuation

In order to allow 'autotest <ctl>' to start a job from the beginning
we want an interface for continuation.  Make 'autotest' do that if it
finds a job in progress.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
fix job runtest to create class instance

When we use job.runtest we need to instantiate an object of type
testname, not of type test.  Ensure we do that.  Also ensure we exit
the children of the test fork.  We _don't_ want them continuing and
running the rest of the job too.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
job complete should exit with requested status

When we complete the job, we should pass out the exit status.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
noise: inadvertant commit of junk
test add job error handling

We want the interface to a test to appears as near as possible to be
a direct python object load and execute.  We are forking for safety
and recoverability, but we don't want to have to think about that.
Add an exception handler to the child to pickle the exception and
then load that in in the parent and raise it on.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
test: sort out lost output caused by os._exit.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
stepper: honour step order

When adding steps the user will expect the steps to executed in
the order they are specified.  Ensure they are executed in that
order.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
job: add job error handling

Add error handling at the top level.  When a job error is thrown we 
drop out and report it as a failure.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>