Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Testing scripts for cows and hunger games

Note

Passing these grading scripts does NOT mean your code is correct. This is only to help you test your synch problems.

Setup

Clone this repo copy all the python files into the ~/cs161/root directory:

git clone https://github.com/kennyyu/cs161-a1scripts.git ~/cs161-a1scripts
cp ~/cs161-a1scripts/*.py ~/cs161/root/

Running the scripts

In the ~/cs161/root directory:

python check-cows.py
python check-games.py

The output of sys161 will be placed in the specified log files with the iteration number appended to the end.

Run these scripts with --help to see available options (e.g. number of iterations to run, the timeout length to wait for sys161 to finish, the log file base name, number of babies for cows)

About

a1 grading scripts

Resources

Releases

No releases published

Packages

No packages published