aboutsummaryrefslogtreecommitdiffstats
path: root/tests/generic/main.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2018-07-11 08:05:42 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2018-07-11 08:05:42 +0200
commit2ad355ebeb00d9698efe2bb910a500e401f5d50b (patch)
tree763564a2e0f17c7e1ed9ee8a21bf79422b5ee49c /tests/generic/main.cc
parentbfc47e9cd4512a503266c3f9cbe8841ed6136580 (diff)
downloadnextpnr-2ad355ebeb00d9698efe2bb910a500e401f5d50b.tar.gz
nextpnr-2ad355ebeb00d9698efe2bb910a500e401f5d50b.tar.bz2
nextpnr-2ad355ebeb00d9698efe2bb910a500e401f5d50b.zip
Renamed dummy->generic for tests, also fix warning
Diffstat (limited to 'tests/generic/main.cc')
-rw-r--r--tests/generic/main.cc28
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/generic/main.cc b/tests/generic/main.cc
new file mode 100644
index 00000000..a2634711
--- /dev/null
+++ b/tests/generic/main.cc
@@ -0,0 +1,28 @@
+/*
+ * nextpnr -- Next Generation Place and Route
+ *
+ * Copyright (C) 2018 Miodrag Milanovic <miodrag@symbioticeda.com>
+ *
+ * Permission to use, copy, modify, and/or distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ */
+
+#include "gtest/gtest.h"
+
+#include <vector>
+
+int main(int argc, char **argv)
+{
+ ::testing::InitGoogleTest(&argc, argv);
+ return RUN_ALL_TESTS();
+}