Keep warning-flood regression within one fixture build
Native and manual checks / native (ubuntu-24.04) (push) Failing after 36s
Native and manual checks / manual (push) Successful in 26s
Windows editor and software Vulkan / windows-graphics (push) Canceled after 0s
Native and manual checks / native (windows-2025) (push) Canceled after 0s
Native and manual checks / native (ubuntu-24.04) (push) Failing after 36s
Native and manual checks / manual (push) Successful in 26s
Windows editor and software Vulkan / windows-graphics (push) Canceled after 0s
Native and manual checks / native (windows-2025) (push) Canceled after 0s
This commit is contained in:
@@ -40,15 +40,10 @@ int tool_main(int argc, char** argv) {
|
||||
return 0;
|
||||
}
|
||||
if (argc > 2 && std::string_view(argv[1]) == "--build") {
|
||||
if (fs::exists("flood-warnings-and-fail-build")) {
|
||||
if (fs::exists("emit-clang-error-and-fail-build")) {
|
||||
for (int index = 0; index < 250; ++index)
|
||||
std::cerr << "/external/library.cpp:1:1: warning: dependency warning "
|
||||
<< index << '\n';
|
||||
std::cerr << path_to_utf8(fs::current_path() / "Scripts/Gameplay.cpp")
|
||||
<< ":7:3: error: gameplay error after warnings\n";
|
||||
return 1;
|
||||
}
|
||||
if (fs::exists("emit-clang-error-and-fail-build")) {
|
||||
std::cerr << path_to_utf8(fs::current_path() / "Scripts/Gameplay.cpp")
|
||||
<< ":7:3: error: fixture compile failure\n";
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user