Fix json_test's lookup of test files.
authorJez Ng <jezng@fb.com>
Tue, 19 Aug 2014 00:33:23 +0000 (17:33 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 9 Sep 2014 21:22:22 +0000 (14:22 -0700)
commit32a19232b18c348096f980a64805d1641deec630
tree9b0180cdd0f0d0213a563026a85178d8eaf236d0
parentd77b369f9f125edebd91168ebbc1317602b4087d
Fix json_test's lookup of test files.

Summary:
The test runner for folly seems to run from folly/test rather than the base fbcode directory. This hack ensures that we find the necessary test files in either case.

This fixes the breakage introduced by {D1493963}.

Test Plan: fbconfig -r folly && fbmake runtests

Reviewed By: davejwatson@fb.com

Subscribers: dipanshu

FB internal diff: D1502161
folly/test/JsonTest.cpp