Your IP : 216.73.216.249


Current Path : /proc/self/root/opt/alt/alt-nodejs6/root/lib/python2.7/site-packages/gyp/
Upload File :
Current File : //proc/self/root/opt/alt/alt-nodejs6/root/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyc

�
 Qc@scdZddlZddlZddljZdejfd��YZedkr_ej�ndS(s(Unit tests for the MSVSSettings.py file.i����NtTestSequenceFunctionscBsbeZd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�ZRS(
cCstj�|_dS(N(tStringIOtstderr(tself((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pytsetUpscCsg|jjd�|jj�jd�}g|D]}|r/|^q/}|jt|�t|��dS(s-Compares recorded lines to expected warnings.is
N(RtseektreadtsplittassertEqualtsorted(Rtexpectedtactualtline((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt_ExpectedWarningsscCsbtjiid6id6id6id6id6id6id6id6|j�|jd	d
g�dS(s,Tests that only MSVS tool names are allowed.tVCCLCompilerTooltVCLinkerToolt
VCMIDLTooltfootVCResourceCompilerTooltVCLibrarianTooltVCManifestToolt	ClCompilesWarning: unrecognized tool foos$Warning: unrecognized tool ClCompileN(tMSVSSettingstValidateMSVSSettingsRR
(R((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt#testValidateMSVSSettings_tool_namess

cCs7tjii@dd6ddgd6dd6dd6d	d
6dd6d
d6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd 6dd!6d"d#6dd$6dd%6dd&6dd'6dd(6dd)6dd*6d+d,6d+d-6dd.6dd/6dd06dd16dd26dd36dd46dd56dd66dd76dd86dd96dd:6dd;6dd<6dd=6dd>6dd?6dd@6ddA6ddB6ddC6ddD6ddE6ddF6ddG6ddH6ddI6ddJ6ddK6ddL6ddM6d"dN6dO6iMd+dP6ddQ6d+dR6dSd6d+dT6ddU6ddV6d+dW6dSdX6ddY6ddZ6dd[6dd\6d+d]6dd^6dd_6d+d`6dda6ddb6dSdc6dd$6ddd6d+de6ddf6ddg6ddh6ddi6dSdj6dSdk6ddl6d+dm6ddn6ddo6ddp6ddq6ddr6dds6ddt6ddu6ddv6ddw6ddx6ddy6ddz6dSd{6dd|6dd}6dd~6dd6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dSd�6dSd�6dd�6dd�6dd�6ddC6dd�6dd�6dd�6dd�6dd�6dd�6d�d�6dd�6dd�6dd�6ddI6dSd�6d�6idd6dSd6dSd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd06dd�6dd�6d"d�6dSd�6dd;6dd�6dd�6ddB6ddC6dd�6dd�6ddF6dd�6ddJ6ddK6d�6i
dSd6dd6d�d�6dd06d"d�6dd;6dSd�6dd�6ddC6ddF6d�6id+dP6ddQ6dSd6dd�6dSde6ddl6d+d�6ddu6dd}6dd�6ddC6ddI6d�6id+d�6dSd6dSd�6dd�6dd�6dd�6dSd�6dd�6dd�6dd�6dd�6ddC6dd�6d�d�6dd�6dd�6ddI6dd�6d�6|j�|jd�d�d�d�d�d�d�d�d�d�g
�d�S(�s%Tests that for invalid MSVS settings.sfolder1;folder2tAdditionalIncludeDirectorieststring1tstring2tAdditionalOptionstAdditionalUsingDirectoriesta_file_nametAssemblerListingLocationt0tAssemblerOutputt5tBasicRuntimeCheckstfdksljtBrowseInformationtBrowseInformationFilettruetBufferSecurityChecks-1tCallingConventiont1t	CompileAst2tDebugInformationFormattDefaultCharIsUnsignedtDetect64BitPortabilityProblemstDisableLanguageExtensionssstring1;string2tDisableSpecificWarningstEnableEnhancedInstructionSettEnableFiberSafeOptimizationstEnableFunctionLevelLinkingtEnableIntrinsicFunctionst
EnablePREfasttbogust
EnableprefasttErrorReportingtExceptionHandlingtExpandAttributedSourcetFavorSizeOrSpeedtFloatingPointExceptionstFloatingPointModeltForceConformanceInForLoopScopesfile1;file2tForcedIncludeFilestForcedUsingFilestGeneratePreprocessedFiletGenerateXMLDocumentationFilestIgnoreStandardIncludePathtInlineFunctionExpansiontKeepCommentstMinimalRebuildt
ObjectFiletOmitDefaultLibNametOmitFramePointerstOpenMPtOptimizationtPrecompiledHeaderFiletPrecompiledHeaderThroughtPreprocessorDefinitionstProgramDataBaseFileNametRuntimeLibrarytRuntimeTypeInfotShowIncludestSmallerTypeCheckt
StringPoolingtStructMemberAlignmenttSuppressStartupBannertTreatWChar_tAsBuiltInTypet"UndefineAllPreprocessorDefinitionstUndefinePreprocessorDefinitionstUseFullPathstUsePrecompiledHeadertUseUnicodeResponseFilestWarnAsErrortWarningLeveltWholeProgramOptimizationtXMLDocumentationFileNametZZXYZRtAdditionalDependenciestAdditionalLibraryDirectoriestAdditionalManifestDependenciess	a string1tAddModuleNamesToAssemblytAllowIsolationt
AssemblyDebugtAssemblyLinkResourcetBaseAddresstCLRImageTypetCLRThreadAttributetCLRUnmanagedCodeChecktDataExecutionPreventiont
DelayLoadDLLst	DelaySigntDrivertEmbedManagedResourceFiletEnableCOMDATFoldingt	EnableUACtEntryPointSymboltFixedBaseAddresstForceSymbolReferencest
FunctionOrdertGenerateDebugInformationtGenerateManifesttGenerateMapFiletHeapCommitSizetHeapReserveSizetIgnoreAllDefaultLibrariestIgnoreDefaultLibraryNamestIgnoreEmbeddedIDLtIgnoreImportLibraryt
ImportLibrarytKeyContainertKeyFiletLargeAddressAwaretLinkIncrementaltLinkLibraryDependenciestLinkTimeCodeGenerationtManifestFilet
MapExportstMapFileNametMergedIDLBaseFileNamet
MergeSectionstMidlCommandFiletModuleDefinitionFiletOptimizeForWindows98tOptimizeReferencest
OutputFiletPerUserRedirectiontProfiletProfileGuidedDatabasetProgramDatabaseFiletRandomizedBaseAddresstRegisterOutputtResourceOnlyDLLtSetChecksumtShowProgresstStackCommitSizetStackReserveSizetStripPrivateSymbolst	SubSystemtSupportUnloadOfDelayLoadedDLLt
SwapRunFromCDtSwapRunFromNett
TargetMachinetTerminalServerAwaretTurnOffAssemblyGenerationtTypeLibraryFilet33tTypeLibraryResourceIDtUACExecutionLeveltUACUIAccesstUseLibraryDependencyInputstVersionRtCPreprocessOptionstDefaultCharTypetDLLDataFileNametEnableErrorCheckstErrorCheckAllocationstErrorCheckBoundstErrorCheckEnumRangetErrorCheckRefPointerstErrorCheckStubDatatGenerateStublessProxiestGenerateTypeLibrarytHeaderFileNametInterfaceIdentifierFileNametMkTypLibCompatibletnotgoodtOutputDirectoryt
ProxyFileNametRedirectOutputAndErrorstTargetEnvironmenttTypeLibraryNametValidateParametersRt1003tCulturetnotgood2tResourceOutputFileNameRtExportNamedFunctionstIgnoreSpecificDefaultLibrariesRtAdditionalManifestFilestAssemblyIdentitytComponentFileNametDependencyInformationFiletGenerateCatalogFilestInputResourceManifeststManifestResourceFiletOutputManifestFiletRegistrarScriptFiletReplacementsFilettrueltUpdateFileHashestUpdateFileHashesSearchPathtUseFAT32Workaroundt
VerboseOutputRs^Warning: for VCCLCompilerTool/BasicRuntimeChecks, index value (5) not in expected range [0, 4)saWarning: for VCCLCompilerTool/BrowseInformation, invalid literal for int() with base 10: 'fdkslj's^Warning: for VCCLCompilerTool/CallingConvention, index value (-1) not in expected range [0, 3)sZWarning: for VCCLCompilerTool/DebugInformationFormat, converted value for 2 not specified.s<Warning: unrecognized setting VCCLCompilerTool/Enableprefasts4Warning: unrecognized setting VCCLCompilerTool/ZZXYZsMWarning: for VCLinkerTool/TargetMachine, converted value for 2 not specified.s0Warning: unrecognized setting VCMIDLTool/notgoods=Warning: unrecognized setting VCResourceCompilerTool/notgood2sHWarning: for VCManifestTool/UpdateFileHashes, expected bool; got 'truel'N(RRRR
(R((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt!testValidateMSVSSettings_settings)s�

cCsttji	iGdd6ddgd6dd6dd6d	d
6dd6d
d6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd 6dd!6dd"6d#d$6d%d&6d'd(6dd)6d*d+6dd,6d-d.6dd/6d0d16d0d26d
d36dd46dd56d6d76d
d86dd96dd:6dd;6dd<6dd=6dd>6d?d@6dAdB6ddC6ddD6ddE6ddF6dGdH6d
dI6d
dJ6dKdL6ddM6dNdO6ddP6ddQ6ddR6ddS6dTdU6ddV6dWdX6ddY6ddZ6dd[6dd\6dd]6dd^6dd_6d`da6ddb6ddc6d#dd6de6iUd0df6ddg6d0dh6dGd6d0di6ddj6dkdl6d0dm6dGdn6dd6dodp6dqdr6dsdt6ddu6dvdw6d
dx6d0dy6ddz6d{d|6d0d}6d
d~6dd6dGd�6d
d�6dqd�6d0d�6dd�6dd�6dd�6dGd�6dGd�6dd�6dd�6d�d�6dd�6dd�6dd�6dd�6d
d�6dd�6d�d�6dd�6d�d�6dd�6dd�6dd�6dd�6dGd�6dd�6dGd�6dd�6dd�6dd�6d
d�6dd�6dd�6dd�6dd�6dd�6dd�6d
d�6dd�6dKd�6dd�6d�d�6dGd�6dGd�6dGd�6dd�6d�d�6dd�6dd�6ddV6dd�6dd�6d�d�6d
d�6dWdX6dd�6dd�6dd�6dKd�6d�d�6dd�6dGd�6d�6idd6dGd6d�d�6dd56dd�6ddF6dGd�6dd�6ddV6dWdX6dd]6d�6i&dd6dGd6dd�6dd�6dGd�6d�d�6dd�6d�d�6dd�6dd�6dd�6dd�6dd�6d�d�6d�d�6dd�6dd�6dd�6dd56dd�6dKd�6dd�6dGd�6ddF6dd�6dd�6dd�6d{dU6dd�6ddV6d�d�6dWdX6d�d�6dd�6dd]6dd�6dd�6d�da6d�6id0df6ddg6dGd6dGd�6d�d&6dd�6dGd�6dd�6d0d�6dd�6dGd�6dd�6dd�6dd�6d0d�6d�d�6ddV6d�d�6dWdX6dd�6dd�6dd�6d�6id0d�6dGd6dGd�6dd�6d�d�6d�d�6dd6dGd6dd6d#d6dd6dGd6dd6dd6dd6ddV6dWdX6dd�6dd	6dd
6dd6d6idd
6dd6d6idd�6d6idd6dd6dd6d
d6dk6|j�|jddddddg�dS(s(Tests that for invalid MSBuild settings.sfolder1;folder2RRRRRRRt	NoListingR!tStackFrameRuntimeCheckR#tfalseR%R&R'R(t
BuildingInIDEtCdeclR)t
CompileAsCR+tPuretCompileAsManagedtCreateHotpatchableImagetProgramDatabaseR-R0sstring1;string2R1tStreamingSIMDExtensionsR2R3R6R7R8tPromptR9t
SyncCThrowR:R;tNeitherR<R=tPreciseR>R?sfile1;file2R@RAtFunctionLevelLinkingRCRDtOnlyExplicitInlineREtIntrinsicFunctionsRGtMultiProcessorCompilationtObjectFileNameRIRJt
OpenMPSupporttDisabledRLtNotUsingtPrecompiledHeaderRMtPrecompiledHeaderOutputFiletPreprocessKeepCommentsROs	a string1tPreprocessOutputPathtPreprocessSuppressLineNumberstPreprocessToFileR�tProcessorNumberRPt
MultiThreadedRQRRRSRTRUt1ByteRVRWta_foldertTrackerLogDirectorytTreatSpecificWarningsAsErrorstTreatWarningAsErrorRXRYRZR[tUseUnicodeForAssemblerListingtTurnOffAllWarningsR_R`RaRbRRcRdReRfRgtRhRiRjt
ForceIJWImageRktEnabledtCLRSupportLastErrortMTAThreadingAttributeRlRmtX86ImagetCreateHotPatchableImageRnRoRptNotSetRqRrRsRtRuRvtForceFileOutputRwRxRyR{R|R}R~R�ta_file_listR�tImageHasSafeExceptionHandlersR�R�R�R�tLinkDLLtSendErrorReporttLinkErrorReportingt
LinkStatustUseLinkTimeCodeGenerationR�R�R�R�R�R�R�tMinimumRequiredVersionR�tMSDOSStubFileNametNoEntryPointR�R�R�tPreventDllBindingR�R�R�R�R�tSectionAlignmentR�tLinkVerboseREFR�tSpecifySectionAttributesR�R�R�tConsoleR�tSupportNobindOfDelayLoadedDLLR�R�tSwapRunFromNETt
MachineX86R�R�tTreatLinkerWarningAsErrorsR�R�R�t	AsInvokerR�R�R�tLinkt0x236R�tNullTerminateStringsR�tResourceCompiletApplicationConfigurationModetClientStubFileR�tSignedR�tDllDataFileNametEnableCustomR�R�R�R�R�R�tStubtGenerateClientFilestNonetGenerateServerFilesR�R�R�R�tLocaleIDR�R�R�R�tServerStubFiletSuppressCompilerWarningstItaniumR�t	NewFormatt
TypeLibFormatR�tValidateAllParametersR^R*tMidltDisplayLibrarytPromptImmediatelyR�tNamet
RemoveObjectstMachineX86itTreatLibWarningAsErrorsR]tVerbosetLibR�R�R�tfaltEnableDPIAwarenessR�R�tGenerateCategoryTagsR�tManifestFromManagedAssemblytnotgood3R�tOutputResourceManifestsR�R�tSuppressDependencyElementR�R�R�tManifestR�R�tProjectReferencetManifestResourceCompilet
EmbedManifestRzR�R�s5Warning: unrecognized setting ClCompile/Enableprefasts-Warning: unrecognized setting ClCompile/ZZXYZs/Warning: unrecognized setting Manifest/notgood3sFWarning: for Manifest/GenerateCatalogFiles, expected bool; got 'truel'sIWarning: for Lib/TargetMachine, unrecognized enumerated value MachineX86isBWarning: for Manifest/EnableDPIAwareness, expected bool; got 'fal'N(RtValidateMSBuildSettingsRR
(R((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt$testValidateMSBuildSettings_settingss"

cCsBi}i}tj||j�}|j||�|jg�dS(sTests an empty conversion.N(RtConvertToMSBuildSettingsRRR
(Rt
msvs_settingstexpected_msbuild_settingstactual_msbuild_settings((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt"testConvertToMSBuildSettings_empty/scCs�iidd6dd6dd6d6idd	6dd
6dd6d
6}iidd6dd6dd6d6idd	6dd6dd6d6}tj||j�}|j||�|jg�dS(sTests a minimal conversion.tdir1Rs/fooRR R#RR*R�R9R,RnRtDefaultRR
R1RR'RN(RRERRR
(RRFRGRH((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt$testConvertToMSBuildSettings_minimal9s.c	Cs�iidd6dd6dd6dd6d	d
6dd6d
6idd6dd6dd6dd6d6idd6d6}iidd6dd6d6id6idd6d6}tj||j�}|j||�|jdddd d!d"d#d$g�d%S(&s)Tests conversion that generates warnings.R*RR,Rt12R#t21R%t13R\t14RBRt10Rqt31R�R9t6RvRR�R�RRRt0x03ebRswWarning: while converting VCCLCompilerTool/BasicRuntimeChecks to MSBuild, index value (12) not in expected range [0, 4)svWarning: while converting VCCLCompilerTool/BrowseInformation to MSBuild, index value (21) not in expected range [0, 3)syWarning: while converting VCCLCompilerTool/UsePrecompiledHeader to MSBuild, index value (13) not in expected range [0, 3)svWarning: while converting VCCLCompilerTool/GeneratePreprocessedFile to MSBuild, value must be one of [0, 1, 2]; got 14sgWarning: while converting VCLinkerTool/Driver to MSBuild, index value (10) not in expected range [0, 4)swWarning: while converting VCLinkerTool/LinkTimeCodeGeneration to MSBuild, index value (31) not in expected range [0, 5)soWarning: while converting VCLinkerTool/ErrorReporting to MSBuild, index value (21) not in expected range [0, 3)spWarning: while converting VCLinkerTool/FixedBaseAddress to MSBuild, index value (6) not in expected range [0, 3)N(RRERRR
(RRFRGRH((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt%testConvertToMSBuildSettings_warningsYsFcCs�ii>dd6dd6dd6dd6dd	6d
d6dd
6dd6dd6dd6d
d6dd6dd6dd6dd6dd6dd6dd6dd6dd6dd6d
d6dd 6dd!6dd"6dd#6d
d$6dd%6d&d'6d&d(6d
d)6dd*6dd+6dd,6dd-6dd.6dd/6dd06dd16dd26d3d46dd56dd66dd76dd86dd96dd:6dd;6dd<6dd=6d
d>6dd?6dd@6ddA6ddB6ddC6d
dD6ddE6ddF6ddG6ddH6ddI6dJ6iNd&dK6ddL6ddM6d&dN6dd6d&dO6ddP6ddQ6d&dR6ddS6d
dT6ddU6ddV6ddW6d&dX6ddY6d
dZ6d&d[6dd\6dd]6dd^6dd6d
d_6d&d`6dda6ddb6ddc6ddd6dde6ddf6ddg6d&dh6ddi6ddj6ddk6ddl6ddm6ddn6d
do6ddp6ddq6ddr6dds6ddt6ddu6ddv6ddw6ddx6d
dy6ddz6dd{6dd|6dd}6dd~6dd6d
d�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd?6dd�6dd�6d3d�6dd�6dd�6dd�6d�d�6d
d�6dd�6d�d�6ddE6dd�6d�6i	dd6dd6d�d�6dd+6dd76dd�6dd�6dd?6ddB6d�6idd6dd6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd+6dd�6dd�6dd�6dd76dd�6dd�6d3d>6dd?6d
d�6dd�6ddB6dd�6ddF6ddG6d�6i
d&dK6ddL6ddM6dd6dd�6dd`6ddg6d&d�6ddp6ddx6dd{6dd?6ddE6d�6id&d�6dd6dd�6dd�6dd�6dd�6dd�6dd�6d�d�6dd�6dd�6dd�6dd?6dd�6dd�6dd�6dd�6ddE6dd�6d�6}i	i<dd6d�d6dd6dd6d�d	6d�d6dd
6dd6dd6d�d6d�d6d�d6dd6dd6d�d6dd6dd6d�d6d�d 6dd!6d�d"6dd#6d�d$6dd%6d&d'6d&d(6dd�6dd*6dd+6d�d,6dd�6dd.6dd�6dd06dd16dd�6d�d46d�d�6dd56dd�6dd�6dd76d�d�6dd�6dd86d�d96dd:6dd;6dd<6dd=6d�d>6dd?6dd�6dd@6ddA6ddB6ddC6d�dG6ddH6ddI6d�6iFd&dK6ddL6d&dN6dd6d&dO6ddP6d�dQ6d&dR6ddS6d�dT6d�dU6ddV6d�dW6d&dX6ddY6dZdZ6d&d[6d�d\6dd]6dd^6d�d_6d&d`6dda6ddb6ddd6dde6ddf6ddg6ddi6d&d�6ddk6ddl6ddm6ddn6d�d�6d�dq6ddr6dds6ddt6ddu6ddv6ddw6ddx6dd�6d�dz6dd{6dd|6dd}6dd~6dd6d�d�6dd�6dd�6d�d�6dd�6dd�6dd�6d�d�6dd�6dd?6dd�6dd�6d�d�6dd�6dd�6dd�6d�d�6d�d�6dd�6dd�6d�6i	dd6dd6d�d�6dd+6dd76dd�6dd�6dd?6ddB6d�6idd6dd6dd�6d�d�6dd�6d�d�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd+6dd�6dd�6dd�6dd76dd�6dd�6dd>6dd?6d�d�6dd�6ddB6dd�6ddF6ddG6d�6id&dK6ddL6dd6dd�6dd`6ddg6d&d�6ddx6dd{6dd?6ddE6d�6id&d�6dd6dd�6dd�6dd�6dd�6dd�6dd�6dd�6dd?6dd�6dd�6dd�6dd�6d�6id�d�6d�6iddp6d�d�6d�6idd�6ddc6ddj6d�do6d�6}tj||j�}|j||�|jg�d�S(�s-Tests conversion of all the MSBuild settings.sfolder1;folder2;folder3Rta_stringRRRRR R!R*R#R,R%R&R'R(R)R+t4R-R.R/R0sd1;d2;d3R1R2R3R4R5R6R9R:R;R<R=R>R?sfile1;file2;file3R@RARBRCRDRERFRGRHRIRJRKt3RLRMRNRORPRQRRRSRTRURVRWRXRYRZR[R\R]R^R_R`RaRRcRdt%AdditionalLibraryDirectories_excludedReRfRgRhRiRjRkRlRmRnRoRpRqRrRsRtRuRvRwRxRyRzR{R|R}R~RR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�RR�R�R�RR�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�RR�R�RR�R�R�R�RBR�R�tmy_nameR�R�R�R�R�R�R�R�Rsa_string /JR�R�R�R�tEditAndContinueRR�tAsyncR�tStrictR�tAnySuitableR�R�R�tFulltCreateR�R�R�R�R�R�R�R�tLevel2RR�R�tSTAThreadingAttributet
NoErrorReportRtPGInstrumentRtWindowsRt
MachineARMtHighestAvailableRRTRtUnsignedR"tAlltWin32R.R/R7R?RAR@N(RRERRR
(RRFRGRH((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt+testConvertToMSBuildSettings_full_synthetic�s`cCsd	ii>dd6dd6dd6dd6d	d
6dd6d	d
6dd6dd6d	d6d	d6dd6dd6dd6dd6dd6d	d6dd6dd6dd6dd 6d!d"6d!d#6dd$6d!d%6dd&6d	d'6dd(6d)d*6d+d,6d!d-6dd.6dd/6d	d06dd16dd26d3d46dd56dd66dd76dd86d9d:6d;d<6d=d>6d?d@6ddA6ddB6ddC6ddD6ddE6ddF6ddG6ddH6ddI6dJdK6ddL6dMdN6ddO6ddP6ddQ6ddR6dSdT6dU6iMdVdW6dXdY6dZd[6d\d6d]d^6dd_6d	d`6dadb6dcdd6dde6d	df6ddg6dMdh6didj6ddk6d!dl6dmdn6d	do6ddp6dqdr6d!d"6d	ds6dtdu6dvdw6ddx6ddy6ddz6d{d|6d}d~6dd6d�d�6dd�6dd�6d�d�6d�d�6d�d�6d!d�6dMd�6dd�6d	d�6d�d�6dd�6dad�6d�d�6dqd�6d�d�6d�d�6d!d�6d!d�6d�d�6dd�6dd�6d�d�6d�d�6d	d�6dd�6dd�6dd�6d	d�6d�d�6d�d�6dtd�6d	d�6dd�6ddG6dd�6dd�6d	d�6d	d�6dd�6d�d�6d}d�6d!d�6dd�6dd�6ddO6d�d�6d�6id�d6d�d6d�d�6dd/6d�d>6d�d�6dd�6d�6id�d�6d�d6d�d�6d�d�6d�d�6dd�6dd�6d�d�6d�d�6d�d�6d�d�6d�d�6ddG6d�d�6dd�6d�d�6dd�6ddO6dd�6d�6}ii<dd6d�d6dd6d�d6d�d
6d�d6dd
6d�d6dd6d�d6d�d6d�d6dd6dd6d�d6dd6dd 6d�d"6d�d#6dd$6d�d%6dd&6d�d'6dd(6d)d*6d+d,6dd�6dd.6dd/6d�d06dd�6dd26d�d�6dd56dd66dd�6d�d86d�d�6d;d:6d�d�6dd�6d=d>6dd�6dd�6d�d@6d�dA6ddB6ddC6ddD6ddE6d�dF6ddG6dd�6ddH6ddI6dJdK6ddL6d�dQ6ddR6d�dT6d6iFdVdW6dXdY6dZd[6d\d6d]d^6dd_6dd`6dadb6dcdd6dde6ddf6ddg6ddh6didj6ddk6ddl6dmdn6ddo6ddp6dqdr6dds6dtdu6dvdw6ddx6ddz6d{d|6d}d~6dd6dd�6d�d6d�d�6d�d�6d�d�6dd�6dd6dd�6d	d�6dd�6dad�6d�d�6dqd�6d�d�6d�d�6dd
6dd�6dd�6dd�6dd�6d�d�6d�d�6dd�6dd�6dd�6dd�6d�d�6d�d�6dtd�6d
d�6dd�6ddG6dd�6dd6dd�6dd�6dd�6d�d�6d}d�6dd�6dd�6d�d�6d6id�d6d�d6dd�6dd/6d�d>6dd�6dd�6d6id�d�6d�d6d�d�6d�d�6dd�6d�d�6d�d�6d�d�6d�d�6ddG6d�d�6dd�6d�d�6dd�6d6idd�6dd�6d6idd�6ddy6dd�6dd�6d6idd�6d6}tj||j�}|j||�|jg�dS(s$	Tests the conversion of an actual project.

    A VS2008 project with most of the options defined was created through the
    VS2008 IDE.  It was then converted to VS2010.  The tool settings found in
    the .vcproj and .vcxproj files were converted to the two dictionaries
    msvs_settings and expected_msbuild_settings.

    Note that for many settings, the VS2010 converter adds macros like
    %(AdditionalIncludeDirectories) to make sure than inherited values are
    included.  Since the Gyp projects we generate do not use inheritance,
    we removed these macros.  They were:
        ClCompile:
            AdditionalIncludeDirectories:  ';%(AdditionalIncludeDirectories)'
            AdditionalOptions:  ' %(AdditionalOptions)'
            AdditionalUsingDirectories:  ';%(AdditionalUsingDirectories)'
            DisableSpecificWarnings: ';%(DisableSpecificWarnings)',
            ForcedIncludeFiles:  ';%(ForcedIncludeFiles)',
            ForcedUsingFiles:  ';%(ForcedUsingFiles)',
            PreprocessorDefinitions:  ';%(PreprocessorDefinitions)',
            UndefinePreprocessorDefinitions:
                ';%(UndefinePreprocessorDefinitions)',
        Link:
            AdditionalDependencies:  ';%(AdditionalDependencies)',
            AdditionalLibraryDirectories:  ';%(AdditionalLibraryDirectories)',
            AdditionalManifestDependencies:
                ';%(AdditionalManifestDependencies)',
            AdditionalOptions:  ' %(AdditionalOptions)',
            AddModuleNamesToAssembly:  ';%(AddModuleNamesToAssembly)',
            AssemblyLinkResource:  ';%(AssemblyLinkResource)',
            DelayLoadDLLs:  ';%(DelayLoadDLLs)',
            EmbedManagedResourceFile:  ';%(EmbedManagedResourceFile)',
            ForceSymbolReferences:  ';%(ForceSymbolReferences)',
            IgnoreSpecificDefaultLibraries:
                ';%(IgnoreSpecificDefaultLibraries)',
        ResourceCompile:
            AdditionalIncludeDirectories:  ';%(AdditionalIncludeDirectories)',
            AdditionalOptions:  ' %(AdditionalOptions)',
            PreprocessorDefinitions:  ';%(PreprocessorDefinitions)',
        Manifest:
            AdditionalManifestFiles:  ';%(AdditionalManifestFiles)',
            AdditionalOptions:  ' %(AdditionalOptions)',
            InputResourceManifests:  ';%(InputResourceManifests)',
    RJRs/moreRttestRs$(IntDir)\aRR*R!RXR#R%s$(IntDir)\eR&R�R(R)R+RWR-R'R.R/R0tabcR1R2R3R4R5R6R,R9R:R;R<R=R>R?tdefR@tgeRARBRCRDRERFRGs$(IntDir)\bRHRIRJRKRLs$(IntDir)\$(TargetName).pcheRMs	StdAfx.hdRNsWIN32;_DEBUG;_CONSOLEROs$(IntDir)\vc90b.pdbRPRQRRRSRTRURVRWRXRYtwerRZR[R R\R]R^R_R`s$(IntDir)\cRaRtzxRctasdRdts2Res/mor2td1RfRgRhtd5Rit23423RjRkRlRmRntd4RoRpRqtd2RrRsRttf5RuRvtd3RwtfssdfsdRxRyRzR{ROR|RMR}R~s	flob;flokRR�R�tf4R�tf7R�tf6R�R�R�R�R�s2$(IntDir)\$(TargetFileName).2intermediate.manifestR�R�R�tf2R�R�tf1R�tsdsdR�R�R�s$(OutDir)\$(ProjectName)2.exeR�R�R�s$(TargetDir)$(TargetName).pgddR�sFlob.pdbR�R�R�R�R�R�t15R�RPR�R�R�R�R�R�R�R�R�tf3R�R�R�R�R�t333R�Rs/more3t3084R�s_UNICODE;UNICODE2s$(IntDir)/$(InputName)3.resR�RtsfsdfsdR�t	afdsdafsdtsddfdsadfsaR�tfsdfdsR�s$(IntDir)\mt.depdfdR�RBR�t	asfsfdafsR�s2$(IntDir)\$(TargetFileName).embed.manifest.resfdsfR�s$(TargetPath).manifestdfsR�tsdfsfdR�tsdffsdR�tsfsdR�R�R�R�Rs/more /Js
$(IntDir)atAssemblyCodetEnableFastCheckss
$(IntDir)etFastCallR�R[R�tQueueR\tSizeR]R�R�R�s
$(IntDir)bR�R�R_R�R�s$(IntDir)$(TargetName).pcheR�R�R�R�s$(IntDir)vc90b.pdbtMultiThreadedDebugDLLt4BytesR�tLevel3s
$(IntDir)cRtForceSafeILImageRR�tUpOnlyR�tQueueForNextLoginRR
s1$(IntDir)$(TargetFileName).2intermediate.manifestRs$(OutDir)$(ProjectName)2.exetLinkVerboseRRRtRequireAdministratorRt0x0c0cs$(IntDir)%(Filename)3.resRR?R@s1$(IntDir)$(TargetFileName).embed.manifest.resfdsfRAN(RRERRR
(RRFRGRH((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt#testConvertToMSBuildSettings_actual@s�,(t__name__t
__module__RR
RR�RDRIRLRURkR�(((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyR
s				�	�	
	 	4	��t__main__(	t__doc__Rtunittesttgyp.MSVSSettingsRtTestCaseRR�tmain(((sS//opt/alt/alt-nodejs6/root/usr/lib/python2.7/site-packages/gyp/MSVSSettings_test.pyt<module>s������