From 1c5dab9d474d23abc3fb381bd1dd88d360582933 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Thu, 7 Feb 2019 13:13:03 -0800 Subject: [tests] Move existing tests/* into submodule nextpnr-tests --- tests | 1 + tests/generic/main.cc | 28 ---------------------------- 2 files changed, 1 insertion(+), 28 deletions(-) create mode 160000 tests delete mode 100644 tests/generic/main.cc (limited to 'tests/generic') diff --git a/tests b/tests new file mode 160000 index 00000000..031c11e3 --- /dev/null +++ b/tests @@ -0,0 +1 @@ +Subproject commit 031c11e393cc34da8c76f9fb5f97bf0921ac9380 diff --git a/tests/generic/main.cc b/tests/generic/main.cc deleted file mode 100644 index a2634711..00000000 --- a/tests/generic/main.cc +++ /dev/null @@ -1,28 +0,0 @@ -/* - * nextpnr -- Next Generation Place and Route - * - * Copyright (C) 2018 Miodrag Milanovic - * - * 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 - -int main(int argc, char **argv) -{ - ::testing::InitGoogleTest(&argc, argv); - return RUN_ALL_TESTS(); -} -- cgit v1.2.3