This commit is contained in:
parent
c2bb9023d4
commit
94db4f2780
1 changed files with 4 additions and 4 deletions
|
|
@ -393,10 +393,10 @@ namespace Crafter {
|
|||
fs::path binDir = path/this->binDir/test.config.name;
|
||||
fs::path buildDir = path/this->buildDir/test.config.name;
|
||||
|
||||
try {
|
||||
Build(test.config, binDir, binDir, buildDir, test.config.name);
|
||||
} catch(std::exception& e) {
|
||||
return {test.config.name, std::string(e.what())};
|
||||
BuildResult buildResult = Build(test.config, binDir, binDir, buildDir, test.config.name);
|
||||
|
||||
if(!buildResult.errors.empty()) {
|
||||
return {test.config.name, buildResult.errors};
|
||||
}
|
||||
|
||||
std::string lib = std::format("{}/lib{}.so", binDir.string(), test.config.name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue