Skip to content

Commit

Permalink
Circumvented error related to use of findResources
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulKlint committed Jan 30, 2025
1 parent dfe9b41 commit b4f7007
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/org/rascalmpl/benchmark/RSF/RSFCalls.rsc
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ public int measureOne(){
}

public int measure(list[str] names){
p = |file:///Users/paulklint/git/rascal//test/org/rascalmpl/benchmark/RSF/|;
loc p = |not-found:///|;
if({loc x} := findResources("RSF")){
p = x;
}
//p = |file:///Users/paulklint/git/rascal//test/org/rascalmpl/benchmark/RSF/|;
begin = cpuTime();
for(str name <- names){
map[str, rel[str,str]] values = readRSF(p + name);
Expand Down

0 comments on commit b4f7007

Please sign in to comment.