commit 7f170e5a4f0512d9ed5a4edbfa8536b22b7b5d56 parent aa3e83fd9c0e0d98e384f09c310bc85daea1c927 Author: Ember Sawady <ecs@d2evs.net> Date: Sat, 20 May 2023 18:30:59 +0000 Rename files to avoid naming conflicts Signed-off-by: Ember Sawady <ecs@d2evs.net> Diffstat:
17 files changed, 33 insertions(+), 33 deletions(-)
diff --git a/crypto/+test/authenc.ha b/crypto/+test/authenc_test.ha diff --git a/hare/parse/+test/expr.ha b/hare/parse/+test/expr_test.ha diff --git a/hare/parse/+test/ident.ha b/hare/parse/+test/ident_test.ha diff --git a/hare/parse/+test/unit.ha b/hare/parse/+test/unit_test.ha diff --git a/io/+test/limit.ha b/io/+test/limit_test.ha diff --git a/io/+test/stream.ha b/io/+test/stream_test.ha diff --git a/math/+test/floats.ha b/math/+test/floats_test.ha diff --git a/math/+test/math.ha b/math/+test/math_test.ha diff --git a/math/+test/trig.ha b/math/+test/trig_test.ha diff --git a/rt/+aarch64/jmp.ha b/rt/+aarch64/arch_jmp.ha diff --git a/rt/+riscv64/jmp.ha b/rt/+riscv64/arch_jmp.ha diff --git a/rt/+test/signal.ha b/rt/+test/signal_test.ha diff --git a/rt/+x86_64/jmp.ha b/rt/+x86_64/arch_jmp.ha diff --git a/scripts/gen-stdlib b/scripts/gen-stdlib @@ -33,7 +33,7 @@ gensrcs_rt() { +linux/signal.ha \ +linux/stat.ha \ +linux/socket.ha \ - '+$(ARCH)'/jmp.ha \ + '+$(ARCH)'/arch_jmp.ha \ '+$(ARCH)'/backtrace.ha \ fenv_defs.ha \ '+$(ARCH)'/cpuid.ha \ @@ -57,7 +57,7 @@ gensrcs_rt() { +freebsd/syscallno.ha \ +freebsd/syscalls.ha \ +freebsd/types.ha \ - +'$(ARCH)'/jmp.ha \ + +'$(ARCH)'/arch_jmp.ha \ +'$(ARCH)'/backtrace.ha \ fenv_defs.ha \ +'$(ARCH)'/cpuid.ha \ @@ -83,7 +83,7 @@ rt() { gensrcs_rt \ abort+test.ha \ start+test.ha \ - +test/signal.ha \ + +test/signal_test.ha \ +test/ztos.ha fi gen_ssa -plinux rt @@ -243,7 +243,7 @@ crypto() { gen_srcs crypto \ authenc.ha \ keyderiv.ha \ - +test/authenc.ha + +test/authenc_test.ha gen_ssa crypto bytes bufio crypto::argon2 crypto::chacha \ crypto::cihper crypto::poly1305 crypto::mac \ crypto::math endian errors io @@ -838,12 +838,12 @@ hare_parse() { strings math else gensrcs_hare_parse \ - +test/expr.ha \ - +test/ident.ha \ + +test/expr_test.ha \ + +test/ident_test.ha \ +test/loc.ha \ +test/roundtrip.ha \ +test/types.ha \ - +test/unit.ha + +test/unit_test.ha gen_ssa hare::parse ascii bufio hare::ast hare::lex \ hare::unparse io strio fmt types strings math \ encoding::utf8 @@ -948,8 +948,8 @@ io() { gensrcs_io else gensrcs_io \ - +test/limit.ha \ - +test/stream.ha + +test/limit_test.ha \ + +test/stream_test.ha fi gen_ssa -plinux io strings errors bytes rt gen_ssa -pfreebsd io strings errors bytes rt @@ -1006,9 +1006,9 @@ math() { else gensrcs_math \ +test/data.ha \ - +test/math.ha \ - +test/floats.ha \ - +test/trig.ha + +test/math_test.ha \ + +test/floats_test.ha \ + +test/trig_test.ha fi gen_ssa math types rt } @@ -1317,8 +1317,8 @@ strconv() { gensrcs_strconv else gensrcs_strconv \ - +test/stou.ha \ - +test/stoi.ha + +test/stou_test.ha \ + +test/stoi_test.ha fi gen_ssa strconv types strings ascii math bytes encoding::utf8 } diff --git a/stdlib.mk b/stdlib.mk @@ -17,7 +17,7 @@ stdlib_rt_linux_srcs = \ $(STDLIB)/rt/+linux/signal.ha \ $(STDLIB)/rt/+linux/stat.ha \ $(STDLIB)/rt/+linux/socket.ha \ - $(STDLIB)/rt/+$(ARCH)/jmp.ha \ + $(STDLIB)/rt/+$(ARCH)/arch_jmp.ha \ $(STDLIB)/rt/+$(ARCH)/backtrace.ha \ $(STDLIB)/rt/fenv_defs.ha \ $(STDLIB)/rt/+$(ARCH)/cpuid.ha \ @@ -44,7 +44,7 @@ stdlib_rt_freebsd_srcs = \ $(STDLIB)/rt/+freebsd/syscallno.ha \ $(STDLIB)/rt/+freebsd/syscalls.ha \ $(STDLIB)/rt/+freebsd/types.ha \ - $(STDLIB)/rt/+$(ARCH)/jmp.ha \ + $(STDLIB)/rt/+$(ARCH)/arch_jmp.ha \ $(STDLIB)/rt/+$(ARCH)/backtrace.ha \ $(STDLIB)/rt/fenv_defs.ha \ $(STDLIB)/rt/+$(ARCH)/cpuid.ha \ @@ -2406,7 +2406,7 @@ testlib_rt_linux_srcs = \ $(STDLIB)/rt/+linux/signal.ha \ $(STDLIB)/rt/+linux/stat.ha \ $(STDLIB)/rt/+linux/socket.ha \ - $(STDLIB)/rt/+$(ARCH)/jmp.ha \ + $(STDLIB)/rt/+$(ARCH)/arch_jmp.ha \ $(STDLIB)/rt/+$(ARCH)/backtrace.ha \ $(STDLIB)/rt/fenv_defs.ha \ $(STDLIB)/rt/+$(ARCH)/cpuid.ha \ @@ -2419,7 +2419,7 @@ testlib_rt_linux_srcs = \ $(STDLIB)/rt/strcmp.ha \ $(STDLIB)/rt/abort+test.ha \ $(STDLIB)/rt/start+test.ha \ - $(STDLIB)/rt/+test/signal.ha \ + $(STDLIB)/rt/+test/signal_test.ha \ $(STDLIB)/rt/+test/ztos.ha # rt (+freebsd) @@ -2435,7 +2435,7 @@ testlib_rt_freebsd_srcs = \ $(STDLIB)/rt/+freebsd/syscallno.ha \ $(STDLIB)/rt/+freebsd/syscalls.ha \ $(STDLIB)/rt/+freebsd/types.ha \ - $(STDLIB)/rt/+$(ARCH)/jmp.ha \ + $(STDLIB)/rt/+$(ARCH)/arch_jmp.ha \ $(STDLIB)/rt/+$(ARCH)/backtrace.ha \ $(STDLIB)/rt/fenv_defs.ha \ $(STDLIB)/rt/+$(ARCH)/cpuid.ha \ @@ -2448,7 +2448,7 @@ testlib_rt_freebsd_srcs = \ $(STDLIB)/rt/strcmp.ha \ $(STDLIB)/rt/abort+test.ha \ $(STDLIB)/rt/start+test.ha \ - $(STDLIB)/rt/+test/signal.ha \ + $(STDLIB)/rt/+test/signal_test.ha \ $(STDLIB)/rt/+test/ztos.ha $(TESTCACHE)/rt/rt-linux.ssa: $(testlib_rt_linux_srcs) $(testlib_rt) @@ -3323,7 +3323,7 @@ $(TESTCACHE)/bytes/bytes-any.ssa: $(testlib_bytes_any_srcs) $(testlib_rt) $(test testlib_crypto_any_srcs = \ $(STDLIB)/crypto/authenc.ha \ $(STDLIB)/crypto/keyderiv.ha \ - $(STDLIB)/crypto/+test/authenc.ha + $(STDLIB)/crypto/+test/authenc_test.ha $(TESTCACHE)/crypto/crypto-any.ssa: $(testlib_crypto_any_srcs) $(testlib_rt) $(testlib_bytes_$(PLATFORM)) $(testlib_bufio_$(PLATFORM)) $(testlib_crypto_argon2_$(PLATFORM)) $(testlib_crypto_chacha_$(PLATFORM)) $(testlib_crypto_cihper_$(PLATFORM)) $(testlib_crypto_poly1305_$(PLATFORM)) $(testlib_crypto_mac_$(PLATFORM)) $(testlib_crypto_math_$(PLATFORM)) $(testlib_endian_$(PLATFORM)) $(testlib_errors_$(PLATFORM)) $(testlib_io_$(PLATFORM)) @printf 'HAREC \t$@\n' @@ -3897,12 +3897,12 @@ testlib_hare_parse_any_srcs = \ $(STDLIB)/hare/parse/parse.ha \ $(STDLIB)/hare/parse/type.ha \ $(STDLIB)/hare/parse/unit.ha \ - $(STDLIB)/hare/parse/+test/expr.ha \ - $(STDLIB)/hare/parse/+test/ident.ha \ + $(STDLIB)/hare/parse/+test/expr_test.ha \ + $(STDLIB)/hare/parse/+test/ident_test.ha \ $(STDLIB)/hare/parse/+test/loc.ha \ $(STDLIB)/hare/parse/+test/roundtrip.ha \ $(STDLIB)/hare/parse/+test/types.ha \ - $(STDLIB)/hare/parse/+test/unit.ha + $(STDLIB)/hare/parse/+test/unit_test.ha $(TESTCACHE)/hare/parse/hare_parse-any.ssa: $(testlib_hare_parse_any_srcs) $(testlib_rt) $(testlib_ascii_$(PLATFORM)) $(testlib_bufio_$(PLATFORM)) $(testlib_hare_ast_$(PLATFORM)) $(testlib_hare_lex_$(PLATFORM)) $(testlib_hare_unparse_$(PLATFORM)) $(testlib_io_$(PLATFORM)) $(testlib_strio_$(PLATFORM)) $(testlib_fmt_$(PLATFORM)) $(testlib_types_$(PLATFORM)) $(testlib_strings_$(PLATFORM)) $(testlib_math_$(PLATFORM)) $(testlib_encoding_utf8_$(PLATFORM)) @printf 'HAREC \t$@\n' @@ -4054,8 +4054,8 @@ testlib_io_linux_srcs = \ $(STDLIB)/io/types.ha \ $(STDLIB)/io/util.ha \ $(STDLIB)/io/zero.ha \ - $(STDLIB)/io/+test/limit.ha \ - $(STDLIB)/io/+test/stream.ha + $(STDLIB)/io/+test/limit_test.ha \ + $(STDLIB)/io/+test/stream_test.ha # io (+freebsd) testlib_io_freebsd_srcs = \ @@ -4077,8 +4077,8 @@ testlib_io_freebsd_srcs = \ $(STDLIB)/io/types.ha \ $(STDLIB)/io/util.ha \ $(STDLIB)/io/zero.ha \ - $(STDLIB)/io/+test/limit.ha \ - $(STDLIB)/io/+test/stream.ha + $(STDLIB)/io/+test/limit_test.ha \ + $(STDLIB)/io/+test/stream_test.ha $(TESTCACHE)/io/io-linux.ssa: $(testlib_io_linux_srcs) $(testlib_rt) $(testlib_strings_$(PLATFORM)) $(testlib_errors_$(PLATFORM)) $(testlib_bytes_$(PLATFORM)) $(testlib_rt_$(PLATFORM)) @printf 'HAREC \t$@\n' @@ -4170,9 +4170,9 @@ testlib_math_any_srcs = \ $(STDLIB)/math/uints.ha \ $(STDLIB)/math/trig.ha \ $(STDLIB)/math/+test/data.ha \ - $(STDLIB)/math/+test/math.ha \ - $(STDLIB)/math/+test/floats.ha \ - $(STDLIB)/math/+test/trig.ha + $(STDLIB)/math/+test/math_test.ha \ + $(STDLIB)/math/+test/floats_test.ha \ + $(STDLIB)/math/+test/trig_test.ha $(TESTCACHE)/math/math-any.ssa: $(testlib_math_any_srcs) $(testlib_rt) $(testlib_types_$(PLATFORM)) $(testlib_rt_$(PLATFORM)) @printf 'HAREC \t$@\n' @@ -4504,8 +4504,8 @@ testlib_strconv_any_srcs = \ $(STDLIB)/strconv/ftos.ha \ $(STDLIB)/strconv/stof.ha \ $(STDLIB)/strconv/stof_data.ha \ - $(STDLIB)/strconv/+test/stou.ha \ - $(STDLIB)/strconv/+test/stoi.ha + $(STDLIB)/strconv/+test/stou_test.ha \ + $(STDLIB)/strconv/+test/stoi_test.ha $(TESTCACHE)/strconv/strconv-any.ssa: $(testlib_strconv_any_srcs) $(testlib_rt) $(testlib_types_$(PLATFORM)) $(testlib_strings_$(PLATFORM)) $(testlib_ascii_$(PLATFORM)) $(testlib_math_$(PLATFORM)) $(testlib_bytes_$(PLATFORM)) $(testlib_encoding_utf8_$(PLATFORM)) @printf 'HAREC \t$@\n' diff --git a/strconv/+test/stoi.ha b/strconv/+test/stoi_test.ha diff --git a/strconv/+test/stou.ha b/strconv/+test/stou_test.ha