summaryrefslogtreecommitdiff
path: root/uunit.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2020-09-19 14:21:22 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2020-09-19 14:55:51 +0200
commite46cf7b5489213ac0f8941c870121b04cf6091ac (patch)
tree4395e82f619e3a02b94fd9b7fc4e325754d9045b /uunit.cc
parent70976334a2edd8bee091a0fd9b07e5714b518974 (diff)
Import uunit from drumgizmo project - renamed and relicensed.
Diffstat (limited to 'uunit.cc')
-rw-r--r--uunit.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/uunit.cc b/uunit.cc
new file mode 100644
index 0000000..609310a
--- /dev/null
+++ b/uunit.cc
@@ -0,0 +1,16 @@
+// -*- c++ -*-
+// This is the uUnit main file.
+// Copyright 2020 Bent Bisballe Nyeng (deva@aasimon.org)
+// This file released under the CC0-1.0 license. See CC0-1.0 file for details.
+
+#define uUNIT_MAIN
+#include "uunit.h"
+
+#include <fstream>
+
+int main(int argc, char* argv[])
+{
+ std::ofstream xmlfile;
+ xmlfile.open("result_" OUTPUT ".xml");
+ return uUnit::runTests(xmlfile);
+}