fix the run-tests script to return 0/1 depending on whether the tests worked out (for scripting)
fix the run-tests script to return 0/1 depending on whether the tests worked out (for scripting)

kyuba/curie,kyuba/curie