From 35e368cee986bcf91a472170f97e79f76065366d Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Wed, 11 Jan 2023 18:02:52 +0100 Subject: Rename OutputSystem::Xyz to output_system::xyz --- test/tools_test.cc | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'test') diff --git a/test/tools_test.cc b/test/tools_test.cc index 0f97bd3..acd4219 100644 --- a/test/tools_test.cc +++ b/test/tools_test.cc @@ -123,41 +123,41 @@ public: { // host conf_host_cxx = "/usr/bin/g++"; - uASSERT_EQUAL(ToolChain::gcc, getToolChain(OutputSystem::Host)); + uASSERT_EQUAL(ToolChain::gcc, getToolChain(ctor::output_system::host)); conf_host_cxx = "/usr/bin/g++-10"; - uASSERT_EQUAL(ToolChain::gcc, getToolChain(OutputSystem::Host)); + uASSERT_EQUAL(ToolChain::gcc, getToolChain(ctor::output_system::host)); conf_host_cxx = "/usr/bin/x86_64-pc-linux-gnu-g++-9.3.0"; - uASSERT_EQUAL(ToolChain::gcc, getToolChain(OutputSystem::Host)); + uASSERT_EQUAL(ToolChain::gcc, getToolChain(ctor::output_system::host)); conf_host_cxx = "/usr/bin/clang++"; - uASSERT_EQUAL(ToolChain::clang, getToolChain(OutputSystem::Host)); + uASSERT_EQUAL(ToolChain::clang, getToolChain(ctor::output_system::host)); conf_host_cxx = "/usr/bin/clang++-10"; - uASSERT_EQUAL(ToolChain::clang, getToolChain(OutputSystem::Host)); + uASSERT_EQUAL(ToolChain::clang, getToolChain(ctor::output_system::host)); conf_host_cxx = "/usr/lib/llvm/12/bin/i686-pc-linux-gnu-clang++-12"; - uASSERT_EQUAL(ToolChain::clang, getToolChain(OutputSystem::Host)); + uASSERT_EQUAL(ToolChain::clang, getToolChain(ctor::output_system::host)); // build conf_build_cxx = "/usr/bin/g++"; - uASSERT_EQUAL(ToolChain::gcc, getToolChain(OutputSystem::Build)); + uASSERT_EQUAL(ToolChain::gcc, getToolChain(ctor::output_system::build)); conf_build_cxx = "/usr/bin/g++-10"; - uASSERT_EQUAL(ToolChain::gcc, getToolChain(OutputSystem::Build)); + uASSERT_EQUAL(ToolChain::gcc, getToolChain(ctor::output_system::build)); conf_build_cxx = "/usr/bin/x86_64-pc-linux-gnu-g++-9.3.0"; - uASSERT_EQUAL(ToolChain::gcc, getToolChain(OutputSystem::Build)); + uASSERT_EQUAL(ToolChain::gcc, getToolChain(ctor::output_system::build)); conf_build_cxx = "/usr/bin/clang++"; - uASSERT_EQUAL(ToolChain::clang, getToolChain(OutputSystem::Build)); + uASSERT_EQUAL(ToolChain::clang, getToolChain(ctor::output_system::build)); conf_build_cxx = "/usr/bin/clang++-10"; - uASSERT_EQUAL(ToolChain::clang, getToolChain(OutputSystem::Build)); + uASSERT_EQUAL(ToolChain::clang, getToolChain(ctor::output_system::build)); conf_build_cxx = "/usr/lib/llvm/12/bin/i686-pc-linux-gnu-clang++-12"; - uASSERT_EQUAL(ToolChain::clang, getToolChain(OutputSystem::Build)); + uASSERT_EQUAL(ToolChain::clang, getToolChain(ctor::output_system::build)); } void getOption_toolchain_test() -- cgit v1.2.3