Skip to content

Commit d342b4a

Browse files
committed
Ignore test binaries with catch-all pattern
Replace individual test binary entries with test/test_* pattern, negating source files (!test/test_*.cpp/hpp/h). Prevents future build artifacts from appearing as untracked.
1 parent 98c1c53 commit d342b4a

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.gitignore

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,10 @@ deactivate_conanbuild.sh
143143
deactivate_conanrun.sh
144144
CMakePresets.json
145145
src/c2pool/c2pool
146-
test/test_address_resolution
147-
test/test_compute_share_target
148-
test/test_hardening
149-
test/test_stratum_extensions
150-
test/test_utxo
151-
test/test_utxo[1]_include.cmake
146+
147+
# Test binaries and cmake artifacts (built by cmake --build)
148+
test/test_*
149+
test/test_*_include.cmake
150+
!test/test_*.cpp
151+
!test/test_*.hpp
152+
!test/test_*.h

0 commit comments

Comments
 (0)