summaryrefslogtreecommitdiff
path: root/test/tools_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/tools_test.cc')
-rw-r--r--test/tools_test.cc24
1 files changed, 12 insertions, 12 deletions
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()