We don't define behavior for relative paths to the OUTPUT argument. Fix our tests to use full paths.
This will allow more granular checks than the main BuildDepends test. Start with a simple single-source C program.