2016-03-31 19:43:13 +08:00
|
|
|
Title: Test slist
|
|
|
|
|
|
|
|
Description:
|
|
|
|
|
|
|
|
A simple application verifying slist API and its functionalities
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Building and Running Project:
|
|
|
|
|
|
|
|
This nanokernel project outputs to the console. It can be built and executed
|
|
|
|
on QEMU as follows:
|
|
|
|
|
|
|
|
make qemu
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Troubleshooting:
|
|
|
|
|
|
|
|
Problems caused by out-dated project information can be addressed by
|
|
|
|
issuing one of the following commands then rebuilding the project:
|
|
|
|
|
|
|
|
make clean # discard results of previous builds
|
|
|
|
# but keep existing configuration info
|
|
|
|
or
|
|
|
|
make pristine # discard results of previous builds
|
|
|
|
# and restore pre-defined configuration info
|
|
|
|
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
Sample Output:
|
|
|
|
|
|
|
|
Starting slist test
|
|
|
|
- Initializing the list
|
|
|
|
- Appending node 1
|
|
|
|
- Finding and removing node 1
|
|
|
|
- Prepending node 1
|
|
|
|
- Removing node 1
|
|
|
|
- Appending node 1
|
|
|
|
- Prepending node 2
|
|
|
|
- Appending node 3
|
2016-04-26 20:09:30 +08:00
|
|
|
- Inserting node 4 after node 2
|
2016-03-31 19:43:13 +08:00
|
|
|
- Finding and removing node 1
|
|
|
|
- Removing node 3
|
2016-04-26 20:09:30 +08:00
|
|
|
- Removing node 4
|
2016-03-31 19:43:13 +08:00
|
|
|
- Removing node 2
|
|
|
|
===================================================================
|
|
|
|
PASS - main.
|
|
|
|
===================================================================
|
|
|
|
PROJECT EXECUTION SUCCESSFUL
|