src/check-static-inits.py


Log

Author Commit Date CI Message
Khaled Hosny 77c24e8a 2025-05-06T13:17:13 [check-*.py] Remove autotoolism Instead of passing source dir and build dir to as envvars, pass them directly as script arguments. The scripts also were supposed to be able to run outsize of the build scripts, but this was broken since the fallback when the envvars were not set was wrong. The HBSOURCES and HBHEADERS are still passed as envvars since they are long lists and might hit command line length limitation on some systems.
Khaled Hosny a5d4e7ba 2025-05-06T12:49:57 [check-static-inits.py] Cleanup
Khaled Hosny d4035292 2025-05-06T12:33:33 [check-*.py] Format
Behdad Esfahbod 628a9ee2 2025-04-06T02:15:51 [check-static-inits] objdump all objects together We won't see which object has the bad initializers anymore. We can later adapt to objdump each object one by one if any error was found. Changes test runtime from 1s down to 0.15s.
Behdad Esfahbod 903cf8cf 2022-04-13T15:31:51 [check-static-inits] Unbreak test
Behdad Esfahbod 98b26eed 2022-01-13T13:12:10 [check-static-inits] Only check library object files
Behdad Esfahbod 4e72d5e3 2021-06-13T05:46:17 [src/check-static-init] Ignore objdump "file format not recognized" error Fixes https://github.com/harfbuzz/harfbuzz/issues/3019
Behdad Esfahbod 13c6ad98 2021-06-12T11:00:19 [src/check-*] Pickup $(NM), $(OBJDUMP), $(LDD), $(OTOOL) Fixes https://github.com/harfbuzz/harfbuzz/issues/3019
Ebrahim Byagowi a07672d3 2020-07-04T14:12:55 [py] minor, replace os.environ.get with os.getenv
Ebrahim Byagowi 7250adee 2020-05-29T12:34:30 [tests] Port check scripts to python