Skip to content

Commit

Permalink
#2898 ComplianceSuite should no longer need to delete classes
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22799 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 17, 2014
1 parent 4a763fb commit 9894e2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Examples/ComplianceSuite.mos
Expand Up @@ -32,12 +32,14 @@ OpenModelica.Scripting.writeFile(\""+fixName(typeNameString(cl))+".res\",\"<test

loadModel(ModelicaCompliance);getErrorString();
// delete classes that generate errors all the time
/*
deleteClass(ModelicaCompliance.Components.Declarations.DoubleDeclarationComps); getErrorString();
deleteClass(ModelicaCompliance.Components.Declarations.DoubleDeclarationMixed); getErrorString();
deleteClass(ModelicaCompliance.Components.Declarations.TypeNameAsComponentName); getErrorString();
deleteClass(ModelicaCompliance.Classes.Enumeration.EnumDuplicateLiteral); getErrorString();
deleteClass(ModelicaCompliance.Scoping.NameLookup.Imports.QualifiedImportConflict); getErrorString();
deleteClass(ModelicaCompliance.Redeclare.ClassExtends.ClassExtendsNonReplaceable); getErrorString();
*/

rec:=simulate("+OpenModelica.Scripting.typeNameString(cl)+");err:=getErrorString();
loadString(\"
Expand Down

0 comments on commit 9894e2c

Please sign in to comment.