Skip to content

Commit

Permalink
- remove debugging printout in CodegenC.tpl
Browse files Browse the repository at this point in the history
  daeExpIf because the expression inside /* */ can contain /* */ and you get a lot of issues
  add it back if you want to debug that part!

- build the freaking omc-diff on omc build! 
  it takes a nanosecond anyway and you can then cd to anywhere in the 
  testsuite and run rtest without the annoying omc-diff is not there 
  message.


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14164 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Nov 30, 2012
1 parent edaba55 commit 581283e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions Compiler/Template/CodegenC.tpl
Expand Up @@ -6635,17 +6635,14 @@ case IFEXP(__) then
let resVar = tempDeclTuple(typeof(exp), &varDecls /*BUFD*/)
let &preExp +=
<<
/* if exp of type <%unparseType(typeof(exp))%> */
<%condVar%> = (modelica_boolean)<%condExp%>;
if (<%condVar%>) {
<%preExpThen%>
/* exp <%printExpStr(expThen)%> has type <%unparseType(typeof(expThen))%> */
<%if eThen then resultVarAssignment(typeof(exp),resVar,eThen)%>
} else {
<%preExpElse%>
<%if eElse then resultVarAssignment(typeof(exp),resVar,eElse)%>
}<%\n%>
/* end exp of type <%unparseType(typeof(exp))%> => <%resVar%> */
>>
resVar)
end daeExpIf;
Expand Down
4 changes: 3 additions & 1 deletion Makefile.common
Expand Up @@ -37,7 +37,7 @@ mkbuilddirs:
mkdir -p $(builddir_doc)/omc/testmodels
mkdir -p $(builddir_man)/man1/

release: omc
release: omc omc-diff

install-python:
(time $(MAKE) -C PythonInterface -f $(defaultMakefileTarget))
Expand Down Expand Up @@ -110,6 +110,8 @@ runtimeCPP:
runtimeCPPinstall:
$(MAKE) -C SimulationRuntime/cpp/ -f $(defaultMakefileTarget) install

omc-diff:
$(MAKE) -C testsuite/ -f Makefile omc-diff

testlibrariemsl31cpp:
(cd testsuite/cppruntime/libraries/msl31 && time $(MAKE) -f Makefile > testsuite-msl31-cpp-trace.txt 2>&1)
Expand Down

0 comments on commit 581283e

Please sign in to comment.