Sort the results of unittest for RC scanner before comparing them.
authorbdbaddog <bdbaddog@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 25 Sep 2008 21:30:54 +0000 (21:30 +0000)
committerbdbaddog <bdbaddog@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Thu, 25 Sep 2008 21:30:54 +0000 (21:30 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3479 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Scanner/RCTests.py

index 0101742a54dd2faacea670a06555abf9d053d21c..61dbfb15b3c769f88bf6be6608b68cbf047d9645 100644 (file)
@@ -111,6 +111,8 @@ if os.path.normcase('foo') == os.path.normcase('FOO'):
 def deps_match(self, deps, headers):
     scanned = map(my_normpath, map(str, deps))
     expect = map(my_normpath, headers)
+    scanned.sort()
+    expect.sort()
     self.failUnless(scanned == expect, "expect %s != scanned %s" % (expect, scanned))
 
 # define some tests: