@@ -108,8 +108,9 @@ TEST(RegisterTestGroup, Register_Build) {
108108
109109 // Make dummy toolchain and target
110110 buildcc::Project::Init (fs::current_path (), fs::current_path ());
111- buildcc::Toolchain toolchain (buildcc::ToolchainId::Gcc, " " , " " , " " , " " , " " ,
112- " " );
111+ buildcc::Toolchain toolchain (
112+ buildcc::ToolchainId::Gcc, " " ,
113+ buildcc::ToolchainExecutables (" " , " " , " " , " " , " " ));
113114 buildcc::BaseTarget target (" dummyT" , buildcc::TargetType::Executable,
114115 toolchain, " " );
115116
@@ -160,8 +161,9 @@ TEST(RegisterTestGroup, Register_Run_PostCb) {
160161
161162 // Make dummy toolchain and target
162163 buildcc::Project::Init (fs::current_path (), fs::current_path ());
163- buildcc::Toolchain toolchain (buildcc::ToolchainId::Gcc, " " , " " , " " , " " , " " ,
164- " " );
164+ buildcc::Toolchain toolchain (
165+ buildcc::ToolchainId::Gcc, " " ,
166+ buildcc::ToolchainExecutables (" " , " " , " " , " " , " " ));
165167 buildcc::BaseTarget target (" dummyT" , buildcc::TargetType::Executable,
166168 toolchain, " " );
167169
@@ -203,8 +205,9 @@ TEST(RegisterTestGroup, Register_NoBuildAndDep) {
203205
204206 // Make dummy toolchain and target
205207 buildcc::Project::Init (fs::current_path (), fs::current_path ());
206- buildcc::Toolchain toolchain (buildcc::ToolchainId::Gcc, " " , " " , " " , " " , " " ,
207- " " );
208+ buildcc::Toolchain toolchain (
209+ buildcc::ToolchainId::Gcc, " " ,
210+ buildcc::ToolchainExecutables (" " , " " , " " , " " , " " ));
208211 buildcc::BaseTarget target (" dummyT" , buildcc::TargetType::Executable,
209212 toolchain, " " );
210213 buildcc::BaseTarget dependency (" depT" , buildcc::TargetType::Executable,
@@ -292,8 +295,9 @@ TEST(RegisterTestGroup, Register_BuildAndDep) {
292295
293296 // Make dummy toolchain and target
294297 buildcc::Project::Init (fs::current_path (), fs::current_path ());
295- buildcc::Toolchain toolchain (buildcc::ToolchainId::Gcc, " " , " " , " " , " " , " " ,
296- " " );
298+ buildcc::Toolchain toolchain (
299+ buildcc::ToolchainId::Gcc, " " ,
300+ buildcc::ToolchainExecutables (" " , " " , " " , " " , " " ));
297301 buildcc::BaseTarget target (" dummyT" , buildcc::TargetType::Executable,
298302 toolchain, " " );
299303 buildcc::BaseTarget dependency (" depT" , buildcc::TargetType::Executable,
@@ -389,8 +393,9 @@ TEST(RegisterTestGroup, Register_DepDuplicate) {
389393
390394 // Make dummy toolchain and target
391395 buildcc::Project::Init (fs::current_path (), fs::current_path ());
392- buildcc::Toolchain toolchain (buildcc::ToolchainId::Gcc, " " , " " , " " , " " , " " ,
393- " " );
396+ buildcc::Toolchain toolchain (
397+ buildcc::ToolchainId::Gcc, " " ,
398+ buildcc::ToolchainExecutables (" " , " " , " " , " " , " " ));
394399 buildcc::BaseTarget target (" dummyT" , buildcc::TargetType::Executable,
395400 toolchain, " " );
396401 buildcc::BaseTarget dependency (" depT" , buildcc::TargetType::Executable,
@@ -465,8 +470,9 @@ TEST(RegisterTestGroup, Register_DepCyclic) {
465470
466471 // Make dummy toolchain and target
467472 buildcc::Project::Init (fs::current_path (), fs::current_path ());
468- buildcc::Toolchain toolchain (buildcc::ToolchainId::Gcc, " " , " " , " " , " " , " " ,
469- " " );
473+ buildcc::Toolchain toolchain (
474+ buildcc::ToolchainId::Gcc, " " ,
475+ buildcc::ToolchainExecutables (" " , " " , " " , " " , " " ));
470476 buildcc::BaseTarget target (" dummyT" , buildcc::TargetType::Executable,
471477 toolchain, " " );
472478 buildcc::BaseTarget dependency (" depT" , buildcc::TargetType::Executable,
@@ -542,8 +548,9 @@ TEST(RegisterTestGroup, Register_Test) {
542548
543549 // Make dummy toolchain and target
544550 buildcc::Project::Init (fs::current_path (), fs::current_path ());
545- buildcc::Toolchain toolchain (buildcc::ToolchainId::Gcc, " " , " " , " " , " " , " " ,
546- " " );
551+ buildcc::Toolchain toolchain (
552+ buildcc::ToolchainId::Gcc, " " ,
553+ buildcc::ToolchainExecutables (" " , " " , " " , " " , " " ));
547554 buildcc::BaseTarget target (" dummyT" , buildcc::TargetType::Executable,
548555 toolchain, " " );
549556 buildcc::BaseTarget dependency (" depT" , buildcc::TargetType::Executable,
@@ -632,8 +639,9 @@ TEST(RegisterTestGroup, Register_TestWithOutput) {
632639
633640 // Make dummy toolchain and target
634641 buildcc::Project::Init (fs::current_path (), fs::current_path ());
635- buildcc::Toolchain toolchain (buildcc::ToolchainId::Gcc, " " , " " , " " , " " , " " ,
636- " " );
642+ buildcc::Toolchain toolchain (
643+ buildcc::ToolchainId::Gcc, " " ,
644+ buildcc::ToolchainExecutables (" " , " " , " " , " " , " " ));
637645 buildcc::BaseTarget target (" dummyT" , buildcc::TargetType::Executable,
638646 toolchain, " " );
639647 buildcc::BaseTarget dependency (" depT" , buildcc::TargetType::Executable,
0 commit comments