summaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/testapp-debug
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@gmail.com>2016-11-02 23:26:40 +0100
committerArnstein Ressem <aressem@gmail.com>2016-11-02 23:26:40 +0100
commit99480b4d72abf3688060d7643816680a30963f74 (patch)
tree966d8494bca9292e6be2877d91ed838953856f0f /vespalib/src/tests/testapp-debug
parent3d18773cf5357250cb2d35d6e8c13477db6e20a3 (diff)
Removed TestApp::GetSourceDirectory
Diffstat (limited to 'vespalib/src/tests/testapp-debug')
-rw-r--r--vespalib/src/tests/testapp-debug/testapp-debug.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/vespalib/src/tests/testapp-debug/testapp-debug.cpp b/vespalib/src/tests/testapp-debug/testapp-debug.cpp
index cbe032f19f8..3081048ea7a 100644
--- a/vespalib/src/tests/testapp-debug/testapp-debug.cpp
+++ b/vespalib/src/tests/testapp-debug/testapp-debug.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;
@@ -11,6 +10,6 @@ TEST_MAIN() {
std::string diff_cmd("diff diff.out ");
- diff_cmd += vespalib::TestApp::GetSourceDirectory() + "diff.ref";
+ diff_cmd += TEST_PATH("diff.ref");
EXPECT_EQUAL(system(diff_cmd.c_str()), 0);
}