diff options
author | Derek Murray <mrry@google.com> | 2016-02-25 11:12:03 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-02-25 11:16:31 -0800 |
commit | 818644c2a946a9d73262ca67b17b98d54856377f (patch) | |
tree | f306ec307cacdbaada93203bd7f38dffa9c0e06b /tensorflow/core/platform/test.h | |
parent | 13d7f5203454d328c6cc6cb048cc3682cc53fe9e (diff) |
Changed testing::SrcDir() to testing::TensorFlowSourceRoot() and fixed it.
Also fixed some compiler warnings.
Change: 115582482
Diffstat (limited to 'tensorflow/core/platform/test.h')
-rw-r--r-- | tensorflow/core/platform/test.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tensorflow/core/platform/test.h b/tensorflow/core/platform/test.h index 73f2f1e272..9f63d8c777 100644 --- a/tensorflow/core/platform/test.h +++ b/tensorflow/core/platform/test.h @@ -35,8 +35,9 @@ namespace testing { // Return a temporary directory suitable for temporary testing files. string TmpDir(); -// Returns the source directory containing data dependencies. -string SrcDir(); +// Returns the path to TensorFlow in the directory containing data +// dependencies. +string TensorFlowSrcRoot(); // Return a random number generator seed to use in randomized tests. // Returns the same value for the lifetime of the process. |