Skip to content

Commit

Permalink
- suppress library not found message when running the testsuite.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24890 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Mar 4, 2015
1 parent f847072 commit 697b89a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Compiler/SimCode/SimCodeUtil.mo
Expand Up @@ -9380,7 +9380,10 @@ algorithm
else ();
end match;
if not max(System.regularFileExists(d+"/"+n) for d in dirs, n in names) then
Error.addSourceMessage(Error.EXT_LIBRARY_NOT_FOUND, {name, sum("\n " + d+"/"+n for d in dirs, n in names)}, info);
// suppress this warning if we're running the testsuite
if not Config.getRunningTestsuite() then
Error.addSourceMessage(Error.EXT_LIBRARY_NOT_FOUND, {name, sum("\n " + d+"/"+n for d in dirs, n in names)}, info);
end if;
end if;
end if;
end lookForExtFunctionLibrary;
Expand Down

0 comments on commit 697b89a

Please sign in to comment.