Skip to content

Commit

Permalink
downloaded a fresh copy of Daikon; make assertNormalExitValue call de…
Browse files Browse the repository at this point in the history
…pendent of whether we are running daikonCheck or not.
  • Loading branch information
hsanchez committed Dec 7, 2023
1 parent b3438a8 commit a1a2c2e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
Binary file modified consumer/libs/ChicoryPremain.jar
Binary file not shown.
Binary file modified consumer/libs/daikon.jar
Binary file not shown.
Binary file modified consumer/libs/dcomp_premain.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,14 @@ public void execDaikon(DaikonExecSpec daikonSpec){
daikonSpec.getConfigureFork().forEach(forkAction -> forkAction.execute(spec));
});

result.assertNormalExitValue();
if (result.toString().contains("Usage:")){
project.getLogger().debug("Checking daikon.jar is in the classpath; "
+ "no need to assert normal exit value");
} else {
// assert this only after executing 'daikonCheck'
result.assertNormalExitValue();
}

}

public void execPrintDaikonInfo(List<File> classPath, String classNamePrefix, Path outputDir){
Expand Down

0 comments on commit a1a2c2e

Please sign in to comment.