diff --git a/tests/.gitignore b/tests/.gitignore
index d9900fb35ca24e4d7592a94c01e5c167935be598..e03a75cde01f11644d4f753bcdd58064fc50a6ab 100644
--- a/tests/.gitignore
+++ b/tests/.gitignore
@@ -25,6 +25,7 @@ wsOct
 /pac/var-6/example/model/pac-expectations/*
 /pac/var-5/example/model/pac-expectations/*
 /pac/trend-component-14/example/model/pac-expectations/*
+!/ecb/aggregate/test_aggregate_routine.m
 
 !/internals/tests.m
 !/fs2000_ssfile_aux.m
diff --git a/tests/pac/.gitignore b/tests/pac/.gitignore
index 7f69f328ce8528af454e2200f403072579494cde..77e9e6fc6d184121ec0eda919639e299992b8966 100644
--- a/tests/pac/.gitignore
+++ b/tests/pac/.gitignore
@@ -12,3 +12,5 @@
 *.json
 
 checksum
+
+!/run_all_tests.m