Re: d3d9/tests: Skip tests if not running in the foreground