diff --git a/.gitignore b/.gitignore
index 3158f7eeea28e78922541cd9d8225765aa61719b..b73bda620d62a0e9e4bc0c7ffd089a3a32bbed1f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
 ### C ###
 # Executables
 cmp_tool
+!test/cmp_tool
 
 # Prerequisites
 *.d