none
Run INFTest against a single INF is Failed RRS feed

Respostas

  • 第二种方法成功了吗?

     

    我记得这个问题"Could not find user specified INF files. Bailing out ..." 原来是有Errata Filter可以过滤掉的。


    http://msdn.microsoft.com/zh-cn/windows/hardware/default.aspx http://whqlcn.wordpress.com
    quarta-feira, 8 de junho de 2011 09:55
    Moderador

Todas as Respostas

  • 试一试Errata filter是否可以过滤掉这个问题。
    http://msdn.microsoft.com/zh-cn/windows/hardware/default.aspx http://whqlcn.wordpress.com
    quarta-feira, 8 de junho de 2011 06:49
    Moderador
  • 下载了最新的 filter,但是还是无法过滤。
    quarta-feira, 8 de junho de 2011 07:12
  • 请贴完整的Task log上来。谢谢。
    http://msdn.microsoft.com/zh-cn/windows/hardware/default.aspx http://whqlcn.wordpress.com
    quarta-feira, 8 de junho de 2011 08:16
    Moderador
  • 下面是我出错时的Test Log
    <?xml version="1.0" encoding="UTF-16" ?>
    <WTT-Logger>
    <RTI ID="3997148817" Machine="ADMIN-PC" ProcessName="C:\WLK\JobsWorkingDir\Tasks\WTTJobRun14710ACF-2F7B-43C1-8D42-65460E9CB759\inftest.exe" ProcessID="2732" ThreadID="3048" BaseTime="2011:5:27 3:21:12:95" Frequency="2600908" />
    <CTX ID="384048256" Current="WTTLOG" Parent="ROOT" />
    <Machine 
     Build="7601.1130" 
     Platform="x86" 
     OS="Windows 7 Enterprise" 
     ServicePack="" 
     Version="6.1" 
     BuildLab="win7sp1_gdr" 
     BuildDate="110408-1631" 
     Language="English (US) (REDMOND)" 
    Config="n/a" CA="689187" LA="744116" >
    <rti id="3997148817" />
    <ctx id="384048256" />
    </Machine>
    <CTX ID="2439827631" Current="FABBDC82-BACD-4D23-A2D7-30219463EB0E" Parent="WTTLOG" />
    <StartTest 
    Title="Inftest" 
    TUID="FABBDC82-BACD-4D23-A2D7-30219463EB0E" CA="691038" LA="745236" >
    <rti id="3997148817" />
    <ctx id="2439827631" />
    </StartTest>
    <Error 
    File="d:\6229\sdktools\ddk\tools\inftest\wttlog.cpp" 
    Line="272" 
    ErrCode="0x6" 
    ErrType="WIN32" 
    ErrorText="The handle is invalid." 
    UserText="Could not find user specified INF files. Bailing out ..." CA="756040" LA="757902" >
    <rti id="3997148817" />
    <ctx id="2439827631" />
    </Error>
    <Assert 
    File="chkinf.bat" 
    Line="1" 
    UserText=" Could not expand user supplied lists of infs into individual filenames.
     : See inftestdbg.log for more information" CA="757089" LA="758424" >
    <rti id="3997148817" />
    <ctx id="2439827631" />
    </Assert>
    <EndTest 
    Title="Inftest" 
    TUID="FABBDC82-BACD-4D23-A2D7-30219463EB0E" 
    Result="Fail" 
    Repro="&quot;C:\WLK\JobsWorkingDir\Tasks\WTTJobRun14710ACF-2F7B-43C1-8D42-65460E9CB759\i386\inftest.exe&quot;  -wdk -p C:\WLK\JobsWorkingDir\Tasks\WTTJobRun14710ACF-2F7B-43C1-8D42-65460E9CB759 -f /LG -l C:\Windows\inf\" CA="757309" LA="758785" >
    <rti id="3997148817" />
    <ctx id="2439827631" />
    </EndTest>
    <PFRollup 
    Total="1" 
    Passed="0" 
    Failed="1" 
    Blocked="0" 
    Warned="0" 
    Skipped="0" CA="759651" LA="760046" >
    <rti id="3997148817" />
    <ctx id="384048256" />
    </PFRollup>
    </WTT-Logger>
    当我用下面两种方式做时,结果却不一样
    第一种:
    Inftest is running ...
    Command line: D:\d\tools\inftest\i386\inftest.exe  -wdk -p D:\d\tools\chkinf -f /LG -l C:\Windows\inf\
    Current directory : D:\
    Passing extra flags to Chkinf: /LG
    FindPerl : ChkinfPath = D:\d\tools\chkinf
    FindPerl : perl.exe found on the system!
    Setting chkinf directory as : D:\d\tools\chkinf\chkinf.bat
    Processing command line ...
    Find First File operation failed! Bailing out ...
    Could not find user specified INF files. Bailing out ...Could not expand user supplied lists of infs into individual filenames.
    Running InfTest : Could not expand user supplied list of infs.
    Clearing list of infs ...
    Processing command line ... DONE!
    The inftest check failed to run. Please check the debug logs for more information.
    第二种:
    Inftest is running ...
    Command line: D:\d\tools\inftest\i386\inftest.exe  -wdk -p D:\d\tools\chkinf -f /LG -l C:\Windows\inf\*
    Current directory : D:\
    Passing extra flags to Chkinf: /LG
    FindPerl : ChkinfPath = D:\d\tools\chkinf
    FindPerl : perl.exe found on the system!
    Setting chkinf directory as : D:\d\tools\chkinf\chkinf.bat
    Processing command line ...
    exapandFileList : file added : C:\Windows\inf\1394.inf
    ...
    ...
    Clearing list of infs ...
    Processing command line ... DONE!
    InfTest finished processing the inf files successfully. Exiting.
    quarta-feira, 8 de junho de 2011 09:03
  • 第二种方法成功了吗?

     

    我记得这个问题"Could not find user specified INF files. Bailing out ..." 原来是有Errata Filter可以过滤掉的。


    http://msdn.microsoft.com/zh-cn/windows/hardware/default.aspx http://whqlcn.wordpress.com
    quarta-feira, 8 de junho de 2011 09:55
    Moderador
  • 是的,第二种方法成功了,

    下面是我重新做的结果:

    Contingency/Errata Filtering

    Failure filter extension run on submission name: 1017.

    1 known issue(s) in test cases were found in 1 test(s), 1 filter(s) applied.

    Errata filters applied to this submission changed 0 test case(s) in 0 test(s), 0 filter(s) applied.

    Contingencies applied to this submission changed 0 test case(s) in 0 test(s), 0 filter(s) applied.

     

    Display Submission Testing Status

    Hybrid Display Submission Testing Status

    Anti-Tampering Verification

     

     

    Submission Summary

    Retrieving submission information...

    Pass Count: 0

    Fail Count: 1

    Not Run Count: 35

    Completed retrieving submission information

    quinta-feira, 9 de junho de 2011 06:39