Files
RedBear-OS/recipes/libs/glib/source/gio/tests/gen-big-test-resource.py
T
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

27 lines
721 B
Python

# Generate a large text file to test compile
# the resulting code that contains a large (>65536 bytes)
# resource entry. Just have 12 iterations of the following:
#
# -100 of each of the lowercase letters
# -100 of each of the uppercase letters
# -100 of the numbers 0 to 9
#
# See issue #1580
import string
import sys
if len(sys.argv) != 2:
raise SystemExit("Usage: %s <output-file>" % sys.argv[0])
with open(sys.argv[1], "w", newline="\n") as f:
for count in range(12):
for c in string.ascii_lowercase:
f.write("%s\n" % (c * 100))
for c in string.ascii_uppercase:
f.write("%s\n" % (c * 100))
for i in range(10):
f.write("%s\n" % (str(i) * 100))