The Jamfile is including test/x3/ when building, so the compiler picks up test.hpp from that directory.

```bash
../../../../b2 --ignore-site-config spirit_v3/qi/x3_extensions
Performing configuration checks

    - symlinks supported       : yes (cached)
...patience...
...patience...
...found 3891 targets...
...updating 4 targets...
gcc.compile.c++ ../../../../bin.v2/libs/spirit/test/x3/x3_seek-p3.test/gcc-4.7.3/debug/extensions/seek.o
gcc.link ../../../../bin.v2/libs/spirit/test/x3/x3_seek-p3.test/gcc-4.7.3/debug/x3_seek-p3
testing.capture-output ../../../../bin.v2/libs/spirit/test/x3/x3_seek-p3.test/gcc-4.7.3/debug/x3_seek-p3.run
**passed** ../../../../bin.v2/libs/spirit/test/x3/x3_seek-p3.test/gcc-4.7.3/debug/x3_seek-p3.test
...updated 4 targets...

```
The name for the test-suite might need some tweaking though.