1212def __remove_std_lookup_log (l : list , exepath ):
1313 l .remove ("looking for library 'std.cfg'" )
1414 l .remove ("looking for library '{}/std.cfg'" .format (exepath ))
15- l .remove ("looking for library '{}/../cfg/std.cfg'" .format (exepath ))
1615 l .remove ("looking for library '{}/cfg/std.cfg'" .format (exepath ))
1716 return l
1817
@@ -1633,7 +1632,6 @@ def test_lib_lookup(tmpdir):
16331632 "looking for library 'gnu'" ,
16341633 "looking for library 'gnu.cfg'" ,
16351634 "looking for library '{}/gnu.cfg'" .format (exepath ),
1636- "looking for library '{}/../cfg/gnu.cfg'" .format (exepath ),
16371635 "looking for library '{}/cfg/gnu.cfg'" .format (exepath ),
16381636 'Checking {} ...' .format (test_file )
16391637 ]
@@ -1655,7 +1653,6 @@ def test_lib_lookup_notfound(tmpdir):
16551653 "looking for library 'none'" ,
16561654 "looking for library 'none.cfg'" ,
16571655 "looking for library '{}/none.cfg'" .format (exepath ),
1658- "looking for library '{}/../cfg/none.cfg'" .format (exepath ),
16591656 "looking for library '{}/cfg/none.cfg'" .format (exepath ),
16601657 "library not found: 'none'" ,
16611658 "cppcheck: Failed to load library configuration file 'none'. File not found"
@@ -1728,7 +1725,6 @@ def test_lib_lookup_nofile(tmpdir):
17281725 "looking for library 'gtk'" ,
17291726 "looking for library 'gtk.cfg'" ,
17301727 "looking for library '{}/gtk.cfg'" .format (exepath ),
1731- "looking for library '{}/../cfg/gtk.cfg'" .format (exepath ),
17321728 "looking for library '{}/cfg/gtk.cfg'" .format (exepath ),
17331729 'Checking {} ...' .format (test_file )
17341730 ]
0 commit comments