From 8b75c061418f4b2efed215e49418e933796b8d02 Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Tue, 22 Jul 2025 10:38:19 +0000 Subject: [PATCH] Add a general tests/.gitignore and remove redundant entries in subdirectory .gitignore files. --- techlibs/xilinx/tests/.gitignore | 1 - tests/{opt => }/.gitignore | 2 ++ tests/aiger/.gitignore | 1 - tests/arch/anlogic/.gitignore | 2 -- tests/arch/ecp5/.gitignore | 2 -- tests/arch/efinix/.gitignore | 3 --- tests/arch/fabulous/.gitignore | 2 -- tests/arch/gatemate/.gitignore | 2 -- tests/arch/gowin/.gitignore | 3 --- tests/arch/ice40/.gitignore | 2 -- tests/arch/intel_alm/.gitignore | 2 -- tests/arch/machxo2/.gitignore | 2 -- tests/arch/microchip/.gitignore | 2 -- tests/arch/nanoxplore/.gitignore | 2 -- tests/arch/nexus/.gitignore | 2 -- tests/arch/quicklogic/.gitignore | 2 -- tests/arch/xilinx/.gitignore | 2 -- tests/asicworld/.gitignore | 2 -- tests/bind/.gitignore | 2 -- tests/blif/.gitignore | 1 - tests/fmt/.gitignore | 1 - tests/hana/.gitignore | 2 -- tests/liberty/.gitignore | 1 - tests/lut/.gitignore | 1 - tests/memlib/.gitignore | 3 --- tests/memories/.gitignore | 2 -- tests/peepopt/.gitignore | 1 - tests/proc/.gitignore | 1 - tests/rpc/.gitignore | 1 - tests/sat/.gitignore | 2 -- tests/select/.gitignore | 1 - tests/sim/.gitignore | 3 --- tests/simple/.gitignore | 3 --- tests/simple_abc9/.gitignore | 2 -- tests/svtypes/.gitignore | 3 --- tests/techmap/.gitignore | 3 --- tests/various/.gitignore | 3 --- tests/verific/.gitignore | 3 --- tests/verilog/.gitignore | 4 ---- 39 files changed, 2 insertions(+), 77 deletions(-) rename tests/{opt => }/.gitignore (60%) delete mode 100644 tests/arch/ecp5/.gitignore delete mode 100644 tests/arch/efinix/.gitignore delete mode 100644 tests/arch/gowin/.gitignore delete mode 100644 tests/arch/intel_alm/.gitignore delete mode 100644 tests/arch/machxo2/.gitignore delete mode 100644 tests/arch/nanoxplore/.gitignore delete mode 100644 tests/arch/nexus/.gitignore delete mode 100644 tests/asicworld/.gitignore delete mode 100644 tests/bind/.gitignore delete mode 100644 tests/blif/.gitignore delete mode 100644 tests/hana/.gitignore delete mode 100644 tests/lut/.gitignore delete mode 100644 tests/peepopt/.gitignore delete mode 100644 tests/proc/.gitignore delete mode 100644 tests/rpc/.gitignore delete mode 100644 tests/select/.gitignore delete mode 100644 tests/simple/.gitignore delete mode 100644 tests/svtypes/.gitignore delete mode 100644 tests/techmap/.gitignore delete mode 100644 tests/verific/.gitignore diff --git a/techlibs/xilinx/tests/.gitignore b/techlibs/xilinx/tests/.gitignore index 0d9c28fde..7cb771190 100644 --- a/techlibs/xilinx/tests/.gitignore +++ b/techlibs/xilinx/tests/.gitignore @@ -1,7 +1,6 @@ bram1_cmp bram1.mk bram1_[0-9]*/ -bram2.log bram2_syn.v bram2_tb dsp_work*/ diff --git a/tests/opt/.gitignore b/tests/.gitignore similarity index 60% rename from tests/opt/.gitignore rename to tests/.gitignore index 8355de9dc..d8e01e026 100644 --- a/tests/opt/.gitignore +++ b/tests/.gitignore @@ -1,2 +1,4 @@ *.log +*.out +*.err run-test.mk diff --git a/tests/aiger/.gitignore b/tests/aiger/.gitignore index 54b4a279b..4bb3e67f6 100644 --- a/tests/aiger/.gitignore +++ b/tests/aiger/.gitignore @@ -1,3 +1,2 @@ /*_ref.v -/*.log /neg.out/ diff --git a/tests/arch/anlogic/.gitignore b/tests/arch/anlogic/.gitignore index 9a71dca69..d9f7e276c 100644 --- a/tests/arch/anlogic/.gitignore +++ b/tests/arch/anlogic/.gitignore @@ -1,4 +1,2 @@ -*.log -/run-test.mk +*_synth.v +*_testbench diff --git a/tests/arch/ecp5/.gitignore b/tests/arch/ecp5/.gitignore deleted file mode 100644 index 1d329c933..000000000 --- a/tests/arch/ecp5/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.log -/run-test.mk diff --git a/tests/arch/efinix/.gitignore b/tests/arch/efinix/.gitignore deleted file mode 100644 index b48f808a1..000000000 --- a/tests/arch/efinix/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/*.log -/*.out -/run-test.mk diff --git a/tests/arch/fabulous/.gitignore b/tests/arch/fabulous/.gitignore index 9a71dca69..d9f7e276c 100644 --- a/tests/arch/fabulous/.gitignore +++ b/tests/arch/fabulous/.gitignore @@ -1,4 +1,2 @@ -*.log -/run-test.mk +*_synth.v +*_testbench diff --git a/tests/arch/gatemate/.gitignore b/tests/arch/gatemate/.gitignore index 9a71dca69..d9f7e276c 100644 --- a/tests/arch/gatemate/.gitignore +++ b/tests/arch/gatemate/.gitignore @@ -1,4 +1,2 @@ -*.log -/run-test.mk +*_synth.v +*_testbench diff --git a/tests/arch/gowin/.gitignore b/tests/arch/gowin/.gitignore deleted file mode 100644 index b48f808a1..000000000 --- a/tests/arch/gowin/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/*.log -/*.out -/run-test.mk diff --git a/tests/arch/ice40/.gitignore b/tests/arch/ice40/.gitignore index 54f908bdb..a86b36792 100644 --- a/tests/arch/ice40/.gitignore +++ b/tests/arch/ice40/.gitignore @@ -1,5 +1,3 @@ -*.log *.json -/run-test.mk +*_synth.v +*_testbench diff --git a/tests/arch/intel_alm/.gitignore b/tests/arch/intel_alm/.gitignore deleted file mode 100644 index ba42e1ee6..000000000 --- a/tests/arch/intel_alm/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/*.log -/run-test.mk diff --git a/tests/arch/machxo2/.gitignore b/tests/arch/machxo2/.gitignore deleted file mode 100644 index 1d329c933..000000000 --- a/tests/arch/machxo2/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.log -/run-test.mk diff --git a/tests/arch/microchip/.gitignore b/tests/arch/microchip/.gitignore index 9c0a77944..aae26dc02 100644 --- a/tests/arch/microchip/.gitignore +++ b/tests/arch/microchip/.gitignore @@ -1,4 +1,2 @@ -*.log -/run-test.mk *.vm diff --git a/tests/arch/nanoxplore/.gitignore b/tests/arch/nanoxplore/.gitignore deleted file mode 100644 index 1d329c933..000000000 --- a/tests/arch/nanoxplore/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.log -/run-test.mk diff --git a/tests/arch/nexus/.gitignore b/tests/arch/nexus/.gitignore deleted file mode 100644 index ba42e1ee6..000000000 --- a/tests/arch/nexus/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/*.log -/run-test.mk diff --git a/tests/arch/quicklogic/.gitignore b/tests/arch/quicklogic/.gitignore index ae20ed342..d9f7e276c 100644 --- a/tests/arch/quicklogic/.gitignore +++ b/tests/arch/quicklogic/.gitignore @@ -1,4 +1,2 @@ -*.log -run-test.mk +*_synth.v +*_testbench diff --git a/tests/arch/xilinx/.gitignore b/tests/arch/xilinx/.gitignore index c99b79371..15a12d049 100644 --- a/tests/arch/xilinx/.gitignore +++ b/tests/arch/xilinx/.gitignore @@ -1,5 +1,3 @@ -/*.log -/*.out /run-test.mk /*_uut.v /test_macc diff --git a/tests/asicworld/.gitignore b/tests/asicworld/.gitignore deleted file mode 100644 index 073f46157..000000000 --- a/tests/asicworld/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.log -*.out diff --git a/tests/bind/.gitignore b/tests/bind/.gitignore deleted file mode 100644 index 8355de9dc..000000000 --- a/tests/bind/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.log -run-test.mk diff --git a/tests/blif/.gitignore b/tests/blif/.gitignore deleted file mode 100644 index 397b4a762..000000000 --- a/tests/blif/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.log diff --git a/tests/fmt/.gitignore b/tests/fmt/.gitignore index a36a15ec4..e6ae0d879 100644 --- a/tests/fmt/.gitignore +++ b/tests/fmt/.gitignore @@ -1,3 +1,2 @@ -*.log iverilog-* yosys-* diff --git a/tests/hana/.gitignore b/tests/hana/.gitignore deleted file mode 100644 index 073f46157..000000000 --- a/tests/hana/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -*.log -*.out diff --git a/tests/liberty/.gitignore b/tests/liberty/.gitignore index 2ee56e9d1..b312f8c50 100644 --- a/tests/liberty/.gitignore +++ b/tests/liberty/.gitignore @@ -1,3 +1,2 @@ -*.log /*.filtered *.verilogsim diff --git a/tests/lut/.gitignore b/tests/lut/.gitignore deleted file mode 100644 index 397b4a762..000000000 --- a/tests/lut/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.log diff --git a/tests/memlib/.gitignore b/tests/memlib/.gitignore index 03dbe82ae..bfa1a801e 100644 --- a/tests/memlib/.gitignore +++ b/tests/memlib/.gitignore @@ -1,5 +1,2 @@ -t_*.log -t_*.out t_*.v t_*.ys -run-test.mk diff --git a/tests/memories/.gitignore b/tests/memories/.gitignore index 90a0983a6..14e98cead 100644 --- a/tests/memories/.gitignore +++ b/tests/memories/.gitignore @@ -1,3 +1 @@ -*.log -*.out *.dmp diff --git a/tests/peepopt/.gitignore b/tests/peepopt/.gitignore deleted file mode 100644 index 50e13221d..000000000 --- a/tests/peepopt/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/*.log diff --git a/tests/proc/.gitignore b/tests/proc/.gitignore deleted file mode 100644 index 397b4a762..000000000 --- a/tests/proc/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.log diff --git a/tests/rpc/.gitignore b/tests/rpc/.gitignore deleted file mode 100644 index 397b4a762..000000000 --- a/tests/rpc/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.log diff --git a/tests/sat/.gitignore b/tests/sat/.gitignore index 664425d73..3fa128fcc 100644 --- a/tests/sat/.gitignore +++ b/tests/sat/.gitignore @@ -1,4 +1,2 @@ -*.log -run-test.mk *.vcd *.fst diff --git a/tests/select/.gitignore b/tests/select/.gitignore deleted file mode 100644 index 50e13221d..000000000 --- a/tests/select/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/*.log diff --git a/tests/sim/.gitignore b/tests/sim/.gitignore index 2c96b65f8..769b314cd 100644 --- a/tests/sim/.gitignore +++ b/tests/sim/.gitignore @@ -1,6 +1,3 @@ -*.log -/run-test.mk +*_synth.v +*_testbench -*.out *.fst diff --git a/tests/simple/.gitignore b/tests/simple/.gitignore deleted file mode 100644 index 5daaadbd7..000000000 --- a/tests/simple/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.log -*.out -*.err diff --git a/tests/simple_abc9/.gitignore b/tests/simple_abc9/.gitignore index fda60e577..e31b7dc7f 100644 --- a/tests/simple_abc9/.gitignore +++ b/tests/simple_abc9/.gitignore @@ -1,5 +1,3 @@ *.v *.sv -*.log -*.out *.bak diff --git a/tests/svtypes/.gitignore b/tests/svtypes/.gitignore deleted file mode 100644 index b48f808a1..000000000 --- a/tests/svtypes/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/*.log -/*.out -/run-test.mk diff --git a/tests/techmap/.gitignore b/tests/techmap/.gitignore deleted file mode 100644 index 56c9ba8f9..000000000 --- a/tests/techmap/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -*.log -*.out -/*.mk diff --git a/tests/various/.gitignore b/tests/various/.gitignore index 3dbd50843..879645f66 100644 --- a/tests/various/.gitignore +++ b/tests/various/.gitignore @@ -1,9 +1,6 @@ -/*.log -/*.out /*.sel /write_gzip.v /write_gzip.v.gz -/run-test.mk /plugin.so /plugin.so.dSYM /temp diff --git a/tests/verific/.gitignore b/tests/verific/.gitignore deleted file mode 100644 index b48f808a1..000000000 --- a/tests/verific/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/*.log -/*.out -/run-test.mk diff --git a/tests/verilog/.gitignore b/tests/verilog/.gitignore index cfd72076e..3702f10cf 100644 --- a/tests/verilog/.gitignore +++ b/tests/verilog/.gitignore @@ -1,7 +1,3 @@ -/*.log -/*.out -/*.err -/run-test.mk /const_arst.v /const_sr.v /doubleslash.v