AeThex-Engine-Core/engine/tests/python_build/validate_builders.py
MrPiglr 9dddce666d
🚀 AeThex Engine v1.0 - Complete Fork
- Forked from Godot Engine 4.7-dev (MIT License)
- Rebranded to AeThex Engine with cyan/purple theme
- Added AI-powered development assistant module
- Integrated Claude API for code completion & error fixing
- Custom hexagon logo and branding
- Multi-platform CI/CD (Windows, Linux, macOS)
- Built Linux editor binary (151MB)
- Complete source code with all customizations

Tech Stack:
- C++ game engine core
- AI Module: Claude 3.5 Sonnet integration
- Build: SCons, 14K+ source files
- License: MIT (Godot) + Custom (AeThex features)

Ready for Windows build via GitHub Actions!
2026-02-23 05:01:56 +00:00

64 lines
1.8 KiB
Python
Executable file

#!/usr/bin/env python3
from __future__ import annotations
if __name__ != "__main__":
raise ImportError(f"{__name__} should not be used as a module.")
import os
import sys
from typing import Any, Callable
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "../../"))
from gles3_builders import build_gles3_header
from glsl_builders import build_raw_header, build_rd_header
FUNC_PATH_KWARGS: list[tuple[Callable[..., None], str, dict[str, Any]]] = [
(
build_gles3_header,
"tests/python_build/fixtures/gles3/vertex_fragment.out",
{"shader": "tests/python_build/fixtures/gles3/vertex_fragment.glsl"},
),
(
build_raw_header,
"tests/python_build/fixtures/glsl/compute.out",
{"shader": "tests/python_build/fixtures/glsl/compute.glsl"},
),
(
build_raw_header,
"tests/python_build/fixtures/glsl/vertex_fragment.out",
{"shader": "tests/python_build/fixtures/glsl/vertex_fragment.glsl"},
),
(
build_rd_header,
"tests/python_build/fixtures/rd_glsl/compute.out",
{"shader": "tests/python_build/fixtures/rd_glsl/compute.glsl"},
),
(
build_rd_header,
"tests/python_build/fixtures/rd_glsl/vertex_fragment.out",
{"shader": "tests/python_build/fixtures/rd_glsl/vertex_fragment.glsl"},
),
]
def main() -> int:
ret = 0
for func, path, kwargs in FUNC_PATH_KWARGS:
if os.path.exists(out_path := os.path.abspath(path)):
with open(out_path, "rb") as file:
raw = file.read()
func(path, **kwargs)
with open(out_path, "rb") as file:
if raw != file.read():
ret += 1
else:
func(path, **kwargs)
ret += 1
return ret
sys.exit(main())