[misc] CI hygiene: enforce __main__ entry, drop silent-skipped tests, fix rerun-test protoc (#23305)

This commit is contained in:
Liangsheng Yin
2026-04-20 21:16:24 -07:00
committed by GitHub
parent 6b19e8a452
commit 6cc2eee50d
19 changed files with 101 additions and 3168 deletions
@@ -254,3 +254,9 @@ class TestCodePatcher:
raise RuntimeError("test error")
assert obj.greet("world") == "hello world"
if __name__ == "__main__":
import sys
sys.exit(pytest.main([__file__, "-v"]))