diff options
author | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-20 13:48:20 +0000 |
---|---|---|
committer | djsollen@google.com <djsollen@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-20 13:48:20 +0000 |
commit | cb62650ecfd323a1ac215103a4d3106faad3c3cd (patch) | |
tree | 037314a5d93b80d73b9ac4d3afd45cf732ea055b /tests/StreamTest.cpp | |
parent | c4de77610191074250dca0bfc21c574eb2d0921c (diff) |
Add --resourcePath flag to the test program.
Review URL: https://codereview.chromium.org/12521016
git-svn-id: http://skia.googlecode.com/svn/trunk@8252 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/StreamTest.cpp')
-rw-r--r-- | tests/StreamTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/StreamTest.cpp b/tests/StreamTest.cpp index 2b86e7bca3..d0a8507241 100644 --- a/tests/StreamTest.cpp +++ b/tests/StreamTest.cpp @@ -155,8 +155,8 @@ static void TestWStream(skiatest::Reporter* reporter) { } delete[] dst; - if (skiatest::Test::GetTmpDir()) { - test_filestreams(reporter, skiatest::Test::GetTmpDir()); + if (!skiatest::Test::GetTmpDir().isEmpty()) { + test_filestreams(reporter, skiatest::Test::GetTmpDir().c_str()); } } |