The argument to -x is the name of the test program executable, produced as described above. The Nachos distribution includes several sample test programs. It may be useful to trace the execution of the halt program using the debug flag. The test directory includes other simple user programs to test your kernels in the later assignments. For these assignments you are also expected to extend these tests and add some of your own.
Some students have difficulty building new test programs.
The following guidelines will help you avoid trouble. Don't screw around with the build process. Place your source code in the test directory, and extend the existing Makefile to build them. Do not remove any of the files in the distributed version of the test directory. In particular, do not remove the file script or any other files used by the build process.