Testsuite: do not copy .hi/.o files to testdir (#12112)

Authored by thomie on Jun 24 2016, 3:41 AM.