[Base Tests] Move base tests to their own subdir
This commit is contained in:
17
src/xenia/base/testing/memory_test.cc
Normal file
17
src/xenia/base/testing/memory_test.cc
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* Xenia : Xbox 360 Emulator Research Project *
|
||||
******************************************************************************
|
||||
* Copyright 2015 Ben Vanik. All rights reserved. *
|
||||
* Released under the BSD license - see LICENSE in the root for more details. *
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include "xenia/base/memory.h"
|
||||
|
||||
#include "third_party/catch/include/catch.hpp"
|
||||
|
||||
TEST_CASE("copy_and_swap_16_aligned", "Copy and Swap") {
|
||||
// TODO(benvanik): tests.
|
||||
REQUIRE(true == true);
|
||||
}
|
||||
11
src/xenia/base/testing/premake5.lua
Normal file
11
src/xenia/base/testing/premake5.lua
Normal file
@@ -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",
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user