#NEWLINE# def testNormalizePkgConfigLegacy( self ) : #NEWLINE# #INDENT# r = self . getLegacyRecipe ( ) #NEWLINE# path = os . path . join ( os . path . sep , r . macros . datadir , 'pkgconfig' , 'foo' ) #NEWLINE# filePath = util . joinPaths ( self . destdir , path ) #NEWLINE# newPath = util . joinPaths ( self . destdir , r . macros . libdir , 'pkgconfig' , 'foo' ) #NEWLINE# self . touch ( filePath ) #NEWLINE# r . NormalizePkgConfig ( ) #NEWLINE# self . captureOutput ( r . _policyMap [ 'NormalizePkgConfig' ] . doProcess , r ) #NEWLINE# self . assertFalse ( ( not os . path . exists ( newPath ) ) ) #NEWLINE# self . assertFalse ( os . path . exists ( filePath ) ) #NEWLINE# self . assertEquals ( r . _pathTranslations , [ ] )