When I run check50 on the find program for Pset 3 I get an inconsistent error about output from CLang. Sometimes it works and other times it produces an error on one of the tests. The error can be on any of one of the tests. Also, I found that I needed to change Find.c to switch the return codes for found and not found. Any ideas of what is happening?
I am running check50 2014.fall.pset3.find. Below is a session where I run check50 and get all correct results and then I run it again and an error is produced.
Checking........................................................................:) helpers.c exists
:) helpers.c compiles
:) finds 42 in {42,43,44}
:) finds 42 in {41,42,43}
:) finds 42 in {40,41,42}
:) finds 42 in {41,42,43,44}
:) finds 42 in {40,41,42,43}
:) finds 42 in {39,40,41,42}
:) doesn't find 42 in {39,40,41}
:) doesn't find 42 in {39,40,41,43}
Checking........................................................................:) helpers.c exists
:) helpers.c compiles
:) finds 42 in {42,43,44}
:) finds 42 in {41,42,43}
:) finds 42 in {40,41,42}
:) finds 42 in {41,42,43,44}
:) finds 42 in {40,41,42,43}
:( finds 42 in {39,40,41,42}
\ expected an exit code of 0, not standard error of "clang: error: unable to execute command..."
:) doesn't find 42 in {39,40,41}
:) doesn't find 42 in {39,40,41,43}