From b6dc70ea5ab2445acb155880e754d8c2072754aa Mon Sep 17 00:00:00 2001 From: Sandy Carter Date: Fri, 9 Mar 2018 00:17:59 -0500 Subject: [PATCH] [Base Tests] Move base tests to their own subdir --- src/xenia/base/premake5.lua | 9 +-------- src/xenia/base/{ => testing}/memory_test.cc | 0 src/xenia/base/testing/premake5.lua | 11 +++++++++++ 3 files changed, 12 insertions(+), 8 deletions(-) rename src/xenia/base/{ => testing}/memory_test.cc (100%) create mode 100644 src/xenia/base/testing/premake5.lua diff --git a/src/xenia/base/premake5.lua b/src/xenia/base/premake5.lua index 29a0799ca..960a6500c 100644 --- a/src/xenia/base/premake5.lua +++ b/src/xenia/base/premake5.lua @@ -16,11 +16,4 @@ project("xenia-base") "debug_visualizers.natvis", }) -test_suite("xenia-base-tests", project_root, ".", { - includedirs = { - project_root.."/third_party/gflags/src", - }, - links = { - "xenia-base", - }, -}) +include("testing") diff --git a/src/xenia/base/memory_test.cc b/src/xenia/base/testing/memory_test.cc similarity index 100% rename from src/xenia/base/memory_test.cc rename to src/xenia/base/testing/memory_test.cc diff --git a/src/xenia/base/testing/premake5.lua b/src/xenia/base/testing/premake5.lua new file mode 100644 index 000000000..e432d7ec4 --- /dev/null +++ b/src/xenia/base/testing/premake5.lua @@ -0,0 +1,11 @@ +project_root = "../../../.." +include(project_root.."/tools/build") + +test_suite("xenia-base-tests", project_root, ".", { + includedirs = { + project_root.."/third_party/gflags/src", + }, + links = { + "xenia-base", + }, +})