总算摸索明白用法了 举个例子, cd dlls/kernel32/tests make test -n | grep file 然后逐一运行就可以了 PS 最后有一句 ../../../tools/runtest -q -P wine -T ../../.. -M kernel32.dll -p kernel32_test.exe.so profile && touch profile.ok 记得要忽略掉 在 2013年12月12日 下午5:25,Qian Hong <fracting@xxxxxxxxx> 写道: > 2013/12/12 Zhenbo Li <litimetal@xxxxxxxxx>: >> 修改了 wine(test) 的代码,然后运行 make test,花的时间都很长。 >> 比如尝试 hack shell32 的 shlfileop.c ,但测试的时候,连 appbar.c, shlexec.c >> 之类的都要跑,很耽误时间。 >> 有办法让测试的时候只运行对应的模块吗? > > > make有个参数 -n ,试试看,有惊喜。 > make -n 结合 grep,就能告诉你怎么做你想做的事情。 > > -- > Regards, > Qian Hong > > - > http://www.winehq.org -- Have a nice day! Zhenbo Li