Earlier quoted context omitted.
If all the programmers who write tests go into industry and none of them go into academia, then the state of software in academia will be... oh, I see, the status quo.
No, they do write tests, just 1. Include the ones that passed and discard those that failed. 2. Run the tests several times and report only the best result. 3. Keep some of the details secret (data, some weird parameters, or maybe the whole repository), tweak something, run again, get some nice figures and publish a new paper.
Fortunately, he turned out to be right.