Skip to content

Commit

Permalink
支持纯速度测试
Browse files Browse the repository at this point in the history
  • Loading branch information
ysc committed May 15, 2015
1 parent bc23ff5 commit 8e387e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/org/apdplat/evaluation/Evaluator.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,18 @@ public static void main(String[] args) throws Exception{
//可通过命令行参数指定不评估的分词器
Set<String> excludes = new HashSet<>();
for(String arg : args){
System.out.println("命令行参数:"+arg);
if(arg.endsWith(".jar")){
continue;
}
if(arg.startsWith("-testText=")){
testText=arg.replace("-testText=", "").trim();
System.out.println("testText:"+testText);
continue;
}
if(arg.startsWith("-standardText=")){
testText=arg.replace("-standardText=", "").trim();
standardText=arg.replace("-standardText=", "").trim();
System.out.println("standardText:"+standardText);
continue;
}
excludes.add(arg);
Expand Down

0 comments on commit 8e387e9

Please sign in to comment.