This gives us minimum coverage of the public header files compiling
against C++.
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
"x86_64",
"k1om"
]
+ },
+ build application {
+ target = "tests/cxxtest_inc_bf",
+ cxxFiles = [
+ "test_inc_barrelfish.cpp"
+ ],
+ architectures = [
+ "x86_64"
+ ]
}
]
--- /dev/null
+/*
+ * Copyright (c) 2015, ETH Zurich.
+ * All rights reserved.
+ *
+ * This file is distributed under the terms in the attached LICENSE file.
+ * If you do not find this file, copies can be found by writing to:
+ * ETH Zurich D-INFK, Universitaetstr. 6, CH-8092 Zurich. Attn: Systems Group.
+ */
+
+#include <iostream>
+
+#include <barrelfish/barrelfish.h>
+
+#include "cxxtest.hpp"
+
+int main(int argc,
+ char *argv[])
+{
+ std::cout << "Hello World!" << std::endl;
+
+ std::cout << "Tests done: SUCCESS" << std::endl;
+ return 0;
+}