Author: ki.stfu Date: Thu Apr 30 07:37:05 2015 New Revision: 236229 URL: http://llvm.org/viewvc/llvm-project?rev=236229&view=rev Log: Fix MiLibraryLoadedTestCase.test_lldbmi_library_loaded test on Linux (MI)
Modified: lldb/trunk/test/tools/lldb-mi/TestMiLibraryLoaded.py Modified: lldb/trunk/test/tools/lldb-mi/TestMiLibraryLoaded.py URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/tools/lldb-mi/TestMiLibraryLoaded.py?rev=236229&r1=236228&r2=236229&view=diff ============================================================================== --- lldb/trunk/test/tools/lldb-mi/TestMiLibraryLoaded.py (original) +++ lldb/trunk/test/tools/lldb-mi/TestMiLibraryLoaded.py Thu Apr 30 07:37:05 2015 @@ -26,8 +26,10 @@ class MiLibraryLoadedTestCase(lldbmi_tes import os path = os.path.join(os.getcwd(), self.myexe) symbols_path = os.path.join(path + ".dSYM", "Contents", "Resources", "DWARF", self.myexe) - self.expect("=library-loaded,id=\"%s\",target-name=\"%s\",host-name=\"%s\",symbols-loaded=\"1\",symbols-path=\"%s\",loaded_addr=\"-\"" % (path, path, path, symbols_path), - exactly = True) + self.expect([ + "=library-loaded,id=\"%s\",target-name=\"%s\",host-name=\"%s\",symbols-loaded=\"1\",symbols-path=\"%s\",loaded_addr=\"-\"" % (path, path, path, symbols_path), + "=library-loaded,id=\"%s\",target-name=\"%s\",host-name=\"%s\",symbols-loaded=\"0\",loaded_addr=\"-\"" % (path, path, path) + ], exactly = True) if __name__ == '__main__': unittest2.main() _______________________________________________ lldb-commits mailing list lldb-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits