diff options
author | Arnstein Ressem <aressem@gmail.com> | 2016-11-02 23:26:40 +0100 |
---|---|---|
committer | Arnstein Ressem <aressem@gmail.com> | 2016-11-02 23:26:40 +0100 |
commit | 99480b4d72abf3688060d7643816680a30963f74 (patch) | |
tree | 966d8494bca9292e6be2877d91ed838953856f0f /vespalib/src/tests/testapp-state | |
parent | 3d18773cf5357250cb2d35d6e8c13477db6e20a3 (diff) |
Removed TestApp::GetSourceDirectory
Diffstat (limited to 'vespalib/src/tests/testapp-state')
-rw-r--r-- | vespalib/src/tests/testapp-state/testapp-state.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vespalib/src/tests/testapp-state/testapp-state.cpp b/vespalib/src/tests/testapp-state/testapp-state.cpp index df126f8dcfc..cf6ced914d4 100644 --- a/vespalib/src/tests/testapp-state/testapp-state.cpp +++ b/vespalib/src/tests/testapp-state/testapp-state.cpp @@ -1,7 +1,6 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/fastos/fastos.h> #include <vespa/vespalib/testkit/test_kit.h> -#include <vespa/vespalib/testkit/testapp.h> using namespace vespalib; @@ -10,6 +9,6 @@ TEST_MAIN() { system("cat out.txt | grep STATE | sed 's/([^)].*\\//(/' > actual.txt"); std::string diff_cmd("diff -u actual.txt "); - diff_cmd += vespalib::TestApp::GetSourceDirectory() + "expect.txt"; + diff_cmd += TEST_PATH("expect.txt"); EXPECT_EQUAL(system(diff_cmd.c_str()), 0); } |