Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 7beed83

Browse files
committed
..
1 parent 373b6e8 commit 7beed83

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/font-subset/test.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
IS_WINDOWS = sys.platform.startswith(('cygwin', 'win'))
2020
EXE = '.exe' if IS_WINDOWS else ''
2121
BAT = '.bat' if IS_WINDOWS else ''
22-
FONT_SUBSET = 'out/host_debug/font-subset' + EXE
22+
FONT_SUBSET = os.path.join(SRC_DIR, 'out', 'host_debug', 'font-subset' + EXE)
2323

2424
COMPARE_TESTS = (
2525
(True, '1.ttf', MATERIAL_TTF, [r'57347']),
@@ -47,6 +47,8 @@ def RunCmd(cmd, **kwargs):
4747

4848

4949
def main():
50+
if os.environ['GOMA_DIR']:
51+
RunCmd(['python', os.path.join(os.enrivon['GOMA_DIR'], 'goma_ctl.py'), 'start'])
5052
RunCmd(['python', 'flutter/tools/gn'], cwd=SRC_DIR)
5153
RunCmd(['autoninja' + BAT, '-C', 'out/host_debug', 'font-subset'], cwd=SRC_DIR)
5254
failures = 0

0 commit comments

Comments
 (0)