Set execute permission on test-all script.
Implement build(...) function.