malsyned / pfstest

Professional Firmware Services Unit Test Framework
Other
1 stars 0 forks source link

Consider removing basenaming from file filtering #16

Closed malsyned closed 6 years ago

malsyned commented 6 years ago

I changed file filtering to operate only on the basname of files because Visual C++ was using different paths to access those files than my GCC Makefile was. However, I've recently moved the VC++ solution such that this may no longer be an issue, and I was uncomfortable with the basenaming to begin with.

malsyned commented 6 years ago

I tried this in VC++ and it still produced full absolute paths. I wonder if it's possible to prevent that at all?

malsyned commented 6 years ago

By overriding __PFSTEST_FILE within the core-test-cases, I work around various compilers' different ideas of what FILE__ should output.