Test scripts for A3


Installing

WARNING: Before following these instructions you must configure and then build all of the source in os161-1.99.

These instructions are for using the student.cs environment. If you are working on another system you'll need to copy and transfer the a3-test-scripts.tar.gz file to your system and adjust the tar command below as appropriate. These instruction and the build will not work if your directory structure is different from that described below.

# We assuming your directory structure is as follows
# $HOME/cs350-os161
# $HOME/cs350-os161/os161-1.99
# $HOME/cs350-os161/root
#
# And that kernel-ASST3 is compiled and installed in
# $HOME/cs350-os161/root

cd $HOME/cs350-os161/os161-1.99

# This creates the directory a3-test-script and its contents.
tar -xzf ~cs350/pub/os161_repository/a3-test-scripts.tar.gz
cd a3-test-scripts

# This will create some symbolic links that
# makes it easier to run the test scripts from
# the current directory.

make

# To run all of the tests 
make runtests

# But see the README, the Makefile source, and the
# test scripts being run (from uw-testbin) to see
# how to run them individually.

Using the test scripts

See the README file in a3-test-scripts.