diff --git a/test/searched_lib.py b/test/searched_lib.py index d1784567f..8cc2eccb3 100644 --- a/test/searched_lib.py +++ b/test/searched_lib.py @@ -24,7 +24,7 @@ t.expect_addition("lib/bin/$toolset/debug/test_lib.dll") # Auto adjusting of suffixes does not work, since we need to # change dll to lib. # -if os.name == 'nt' or ( os.uname()[0].lower().startswith('cygwin') and get_toolset() != 'gcc') : +if (os.name == 'nt' or os.uname()[0].lower().startswith('cygwin')) and get_toolset() != 'gcc': t.copy("lib/bin/$toolset/debug/test_lib.lib", "lib/test_lib.lib") else: t.copy("lib/bin/$toolset/debug/test_lib.dll", "lib/libtest_lib.dll") diff --git a/v2/test/searched_lib.py b/v2/test/searched_lib.py index d1784567f..8cc2eccb3 100644 --- a/v2/test/searched_lib.py +++ b/v2/test/searched_lib.py @@ -24,7 +24,7 @@ t.expect_addition("lib/bin/$toolset/debug/test_lib.dll") # Auto adjusting of suffixes does not work, since we need to # change dll to lib. # -if os.name == 'nt' or ( os.uname()[0].lower().startswith('cygwin') and get_toolset() != 'gcc') : +if (os.name == 'nt' or os.uname()[0].lower().startswith('cygwin')) and get_toolset() != 'gcc': t.copy("lib/bin/$toolset/debug/test_lib.lib", "lib/test_lib.lib") else: t.copy("lib/bin/$toolset/debug/test_lib.dll", "lib/libtest_lib.dll")