aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/tests/testapp-debug/testapp-debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'vespalib/src/tests/testapp-debug/testapp-debug.cpp')
-rw-r--r--vespalib/src/tests/testapp-debug/testapp-debug.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/vespalib/src/tests/testapp-debug/testapp-debug.cpp b/vespalib/src/tests/testapp-debug/testapp-debug.cpp
new file mode 100644
index 00000000000..7b332220f1d
--- /dev/null
+++ b/vespalib/src/tests/testapp-debug/testapp-debug.cpp
@@ -0,0 +1,11 @@
+// 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>
+
+using namespace vespalib;
+
+TEST_MAIN() {
+ system("./vespalib_debug_test_app");
+ system("diff lhs.out rhs.out > diff.out");
+ EXPECT_EQUAL(system("diff diff.out diff.ref"), 0);
+}