diff --git a/.gitignore b/.gitignore index 5197ca4dc..a22f77004 100644 --- a/.gitignore +++ b/.gitignore @@ -17,11 +17,16 @@ firmware/esp32-csi-node/sdkconfig.defaults.bak firmware/esp32-hello-world/sdkconfig.old # Host-built firmware test binaries (compiled from test/*.c, not source) -firmware/esp32-csi-node/test/test_adr110 -firmware/esp32-csi-node/test/test_vitals -firmware/esp32-csi-node/test/fuzz_serialize -firmware/esp32-csi-node/test/fuzz_edge -firmware/esp32-csi-node/test/fuzz_nvs +# Compiled host-test and fuzz binaries. The Makefile writes them beside their +# sources, so they land in a tracked directory. Ignore them by SHAPE rather +# than by name: every source here carries an extension and no binary does. +# +# This replaced a hand-maintained list of five targets, which had gone stale -- +# test_csi_sanitize, test_mmwave_detect and test_thermal were all built by +# `make host_tests`, ignored by nothing, and got committed by accident. +firmware/esp32-csi-node/test/test_* +firmware/esp32-csi-node/test/fuzz_* +!firmware/esp32-csi-node/test/*.* firmware/esp32-csi-node/test/*.exe firmware/esp32-csi-node/test/*.obj