The following commit has been merged in the master branch: commit 738a8e5c5c04ee57b7d9b3889d381a3fee383299 Author: Michael Meffie <mmef...@sinenomine.net> Date: Thu Mar 6 16:18:00 2025 -0600
util: Build src/util/test Change src/util/Makefile so we build the contents of src/util/test by default during the build, and fix various small build problems with the included programs. Remove ktest.c instead of fixing it, since it only calls ktime_ParsePeriodic() and ktime_next(), which we have other unit tests for in tests/util/ktime-t.c Remove treaddir.c instead of fixing it, since it only readdir()s a directory, which isn't very useful. Remove a few lingering references to snprintf_test, which was removed long ago in commit 8c1f725931 (afs_snprintf is dead, long live rk_snprintf). Change b64.c to be conditional on AFS_SGI_XFS_IOPS_ENV instead of AFS_NT40_ENV, since AFS_SGI_XFS_IOPS_ENV is when we define functions int_to_base64() and base64_to_int() in base64.c. Change fb64.c to not be conditional on AFS_NAMEI_ENV, since the functions flipbase64_to_int64() and int64_to_flipbase64() are always available. Add b32.exe to be built on WINNT (the only platform where it does anything), to help it avoid bitrotting. Change-Id: I54fa6b97e38bdce9cc52c67aeff7545348f4c397 Reviewed-on: https://gerrit.openafs.org/16462 Tested-by: BuildBot <build...@rampaginggeek.com> Tested-by: Andrew Deason <adea...@sinenomine.net> Reviewed-by: Mark Vitale <mvit...@sinenomine.net> Reviewed-by: Cheyenne Wills <cwi...@sinenomine.net> Reviewed-by: Michael Meffie <mmef...@sinenomine.net> NTMakefile | 9 +++++- src/util/Makefile.in | 6 ++-- src/util/test/.gitignore | 7 +++++ src/util/test/Makefile.in | 24 ++++++--------- src/util/test/NTMakefile | 14 ++++++--- src/util/test/b32.c | 35 ++++++++++----------- src/util/test/b64.c | 42 ++++++++++++------------- src/util/test/dirpath_test.c | 4 ++- src/util/test/fb64.c | 61 +++++++++++++++--------------------- src/util/test/ktest.c | 39 ----------------------- src/util/test/treaddir.c | 73 -------------------------------------------- 11 files changed, 105 insertions(+), 209 deletions(-) -- OpenAFS Master Repository _______________________________________________ OpenAFS-cvs mailing list OpenAFS-cvs@openafs.org https://lists.openafs.org/mailman/listinfo/openafs-cvs