Mercurial > projects > ldc
comparison gen/functions.cpp @ 830:504a21e81a46
Only run unittests contained directly in the module.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 07 Dec 2008 14:12:39 +0100 |
parents | 340acf1535d0 |
children | 331a176c1f4f |
comparison
equal
deleted
inserted
replaced
829:0a31c60a6bc1 | 830:504a21e81a46 |
---|---|
602 iarg->setName("unnamed"); | 602 iarg->setName("unnamed"); |
603 } | 603 } |
604 } | 604 } |
605 } | 605 } |
606 | 606 |
607 if (fdecl->isUnitTestDeclaration()) | 607 if (fdecl->isUnitTestDeclaration() && !declareOnly) |
608 gIR->unitTests.push_back(fdecl); | 608 gIR->unitTests.push_back(fdecl); |
609 | 609 |
610 if (!declareOnly) | 610 if (!declareOnly) |
611 gIR->defineList.push_back(fdecl); | 611 gIR->defineList.push_back(fdecl); |
612 else | 612 else |