C++: Fix test_cpp.cpp to work with VPATH builds
authorPetri Lehtinen <petri@digip.org>
Thu, 4 Feb 2010 19:10:04 +0000 (21:10 +0200)
committerPetri Lehtinen <petri@digip.org>
Thu, 4 Feb 2010 19:10:04 +0000 (21:10 +0200)
commitf021ba00a2f06a08ac767a94f6fdebb01d3f74b4
treece0240633aef57f50c409e08cd88942669370338
parentadb1b586274b920a78ca9dc4d728a9086510c2dd
C++: Fix test_cpp.cpp to work with VPATH builds

It reads an input file, and the file location is different with VPATH
builds. Read top_srcdir from environment and use it to find the file.
test/suites/api/test_cpp.cpp