@@ -23,7 +23,6 @@ def test_lib_lookup(tmpdir):
2323 assert exitcode == 0 , stdout if stdout else stderr
2424 lines = __remove_std_lookup_log (stdout .splitlines (), exepath )
2525 assert lines == [
26- "looking for library 'gnu'" ,
2726 "looking for library 'gnu.cfg'" ,
2827 "looking for library '{}/gnu.cfg'" .format (exepath ),
2928 "looking for library '{}/cfg/gnu.cfg'" .format (exepath ),
@@ -63,7 +62,6 @@ def test_lib_lookup_notfound(tmpdir):
6362 lines = __remove_std_lookup_log (stdout .splitlines (), exepath )
6463 assert lines == [
6564 # TODO: specify which folder is actually used for lookup here
66- "looking for library 'none'" , # TODO: this could conflict with the platform lookup
6765 "looking for library 'none.cfg'" ,
6866 # TODO: lookup of '{exepath}/none' missing - could conflict with the platform lookup though
6967 "looking for library '{}/none.cfg'" .format (exepath ),
@@ -126,7 +124,6 @@ def test_lib_lookup_relative_noext_notfound(tmpdir):
126124 assert exitcode == 1 , stdout if stdout else stderr
127125 lines = __remove_std_lookup_log (stdout .splitlines (), exepath )
128126 assert lines == [
129- "looking for library 'config/gnu'" ,
130127 "looking for library 'config/gnu.cfg'" ,
131128 "looking for library '{}/config/gnu.cfg'" .format (exepath ),
132129 "looking for library '{}/cfg/config/gnu.cfg'" .format (exepath ),
@@ -186,8 +183,6 @@ def test_lib_lookup_nofile(tmpdir):
186183 pass
187184
188185 # make sure we do not produce an error when the attempted lookup path is a directory and not a file
189- gtk_dir = os .path .join (tmpdir , 'gtk' )
190- os .mkdir (gtk_dir )
191186 gtk_cfg_dir = os .path .join (tmpdir , 'gtk.cfg' )
192187 os .mkdir (gtk_cfg_dir )
193188
@@ -198,7 +193,6 @@ def test_lib_lookup_nofile(tmpdir):
198193 assert exitcode == 0 , stdout if stdout else stderr
199194 lines = __remove_std_lookup_log (stdout .splitlines (), exepath )
200195 assert lines == [
201- "looking for library 'gtk'" ,
202196 "looking for library 'gtk.cfg'" ,
203197 "looking for library '{}/gtk.cfg'" .format (exepath ),
204198 "looking for library '{}/cfg/gtk.cfg'" .format (exepath ),
@@ -223,7 +217,6 @@ def test_lib_lookup_invalid(tmpdir):
223217 assert exitcode == 1 , stdout if stdout else stderr
224218 lines = __remove_std_lookup_log (stdout .splitlines (), exepath )
225219 assert lines == [
226- "looking for library 'gnu'" ,
227220 "looking for library 'gnu.cfg'" ,
228221 "library not found: 'gnu'" ,
229222 "Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1" , # TODO: log the failure before saying the library was not found
@@ -243,11 +236,9 @@ def test_lib_lookup_multi(tmpdir):
243236 assert exitcode == 0 , stdout if stdout else stderr
244237 lines = __remove_std_lookup_log (stdout .splitlines (), exepath )
245238 assert lines == [
246- "looking for library 'posix'" ,
247239 "looking for library 'posix.cfg'" ,
248240 "looking for library '{}/posix.cfg'" .format (exepath ),
249241 "looking for library '{}/cfg/posix.cfg'" .format (exepath ),
250- "looking for library 'gnu'" ,
251242 "looking for library 'gnu.cfg'" ,
252243 "looking for library '{}/gnu.cfg'" .format (exepath ),
253244 "looking for library '{}/cfg/gnu.cfg'" .format (exepath ),
0 commit comments