Danny Robson
34788756d2
GCC produces ODR error when including paths of the form './foo' and 'foo' in the same binary. Rather than managing duplication we just universally pick the absolute form over the relative form.
18 lines
334 B
C++
18 lines
334 B
C++
#include "../tap.hpp"
|
|
|
|
#include "../exe.hpp"
|
|
|
|
#include <iostream>
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
int
|
|
main (int, char **argv)
|
|
{
|
|
util::TAP::logger tap;
|
|
|
|
auto path = util::image_path ();
|
|
tap.expect_eq (path, argv[0], "identify executable path");
|
|
return tap.status ();
|
|
}
|