[PATCH] gitignore: ignore Labgrid --lg-log's console_main

Ahmad Fatoum a.fatoum at barebox.org
Mon Jan 19 03:10:57 PST 2026


Calling pytest with --lg-log generates a console_main with the log
output, which leads often to false positives for me when searching
strings with ripgrep.

Add the file to .gitignore to fix this.

Signed-off-by: Ahmad Fatoum <a.fatoum at barebox.org>
---
 .gitignore | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index 1b335c330091..2d5b9602a5cc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -116,3 +116,6 @@ coverage_html/
 # Disk images (used for testing)
 /*.raw
 /*.qcow2
+
+# Labgrid default console log file
+/console_main
-- 
2.47.3




More information about the barebox mailing list