changeset 98:016ecc7284ab

tfo-ut: generate hex-encoded unit tests
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 19 Mar 2025 01:00:13 +0000 (2 days ago)
parents fe0551c9b8cd
children f8b501c8bfce
files .hgignore tfo-ut/Makefile
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Wed Mar 19 00:43:32 2025 +0000
+++ b/.hgignore	Wed Mar 19 01:00:13 2025 +0000
@@ -15,6 +15,8 @@
 ^tfo/find-is-hdr$
 ^tfo/tfo-trace-msg$
 
+^tfo-ut/.*\.hex$
+
 ^trau-decode/dump-1bit$
 ^trau-decode/tfo-parse-fr16$
 ^trau-decode/trau-extr$
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tfo-ut/Makefile	Wed Mar 19 01:00:13 2025 +0000
@@ -0,0 +1,11 @@
+OUTPUTS=tfo-efr.hex tfo-fr.hex tfo-hr.hex
+
+all:	${OUTPUTS}
+
+.SUFFIXES:	.bin .hex
+
+.bin.hex:
+	../utils/gen-hex-lines $< $@ 40
+
+clean:
+	rm -f *.hex