[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] gsoc-2023-ahmet-final d9c5e52ce 2/6: [tohtml.py] Converted l
From: |
Werner Lemberg |
Subject: |
[freetype2] gsoc-2023-ahmet-final d9c5e52ce 2/6: [tohtml.py] Converted links to relative |
Date: |
Thu, 21 Sep 2023 20:27:42 -0400 (EDT) |
branch: gsoc-2023-ahmet-final
commit d9c5e52ce26b3bafd296e46c0908e23cd145c0d2
Author: goksu <25721443+goeksu@users.noreply.github.com>
Commit: goksu <25721443+goeksu@users.noreply.github.com>
[tohtml.py] Converted links to relative
OBJ_DIR path were given as argument to tohtml.py. Cleared. All links are
relative now
---
builds/testing.mk | 2 +-
src/tools/ftbench/src/tohtml.py | 8 ++++----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/builds/testing.mk b/builds/testing.mk
index 1aa34b2ec..412d8b4ff 100644
--- a/builds/testing.mk
+++ b/builds/testing.mk
@@ -157,7 +157,7 @@ benchmark: $(FTBENCH_BIN) $(BENCHMARK_DIR) copy-html-script
printf "\nProcessing %d%%..." $$percent; \
$(FTBENCH_BIN) $(FTBENCH_FLAG) "$$font" >
$(BENCHMARK_DIR)$$(basename $$font .ttf).txt; \
done
- @$(PYTHON) $(HTMLCREATOR) $(OBJ_DIR)
+ @$(PYTHON) $(HTMLCREATOR)
@echo "Benchmark results created in file: $(HTMLFILE)"
####################################################################
diff --git a/src/tools/ftbench/src/tohtml.py b/src/tools/ftbench/src/tohtml.py
index c1e50c209..e5749d19c 100644
--- a/src/tools/ftbench/src/tohtml.py
+++ b/src/tools/ftbench/src/tohtml.py
@@ -30,10 +30,10 @@ CSS_STYLE = """
}
</style>
"""
-OBJ_DIR = sys.argv[1]
-BASELINE_DIR = os.path.join(OBJ_DIR, "baseline")
-BENCHMARK_DIR = os.path.join(OBJ_DIR, "benchmark")
-BENCHMARK_HTML = os.path.join(OBJ_DIR, "benchmark.html")
+
+BASELINE_DIR = "baseline"
+BENCHMARK_DIR = "benchmark"
+BENCHMARK_HTML = "benchmark.html"
FONT_COUNT = 5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] gsoc-2023-ahmet-final d9c5e52ce 2/6: [tohtml.py] Converted links to relative,
Werner Lemberg <=