Skip to content

Commit

Permalink
only run test if fbc enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
skeating authored and fbergmann committed Feb 13, 2023
1 parent 6a736f7 commit cbca453
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/sbml/validator/test/TestFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,16 @@ TestFile::getFilesIn ( const string& directory,
if (num == 29)
continue;
}
else if (id == 10103)
{
// this test if for namespaces on key value pairs
// which libsbml will onle recognise if FBC is enabled
#ifndef USE_FBC
if (num == 12)
continue;

#endif
}

if ((begin == 0 && end == 0) || (id >= begin && id <= end))
{
Expand Down

0 comments on commit cbca453

Please sign in to comment.