blob: cbe032f19f83e4f73d114975b7bd73cb6a255fe0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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;
TEST_MAIN() {
system("./vespalib_debug_test_app");
system("diff lhs.out rhs.out > diff.out");
std::string diff_cmd("diff diff.out ");
diff_cmd += vespalib::TestApp::GetSourceDirectory() + "diff.ref";
EXPECT_EQUAL(system(diff_cmd.c_str()), 0);
}
|