Changeset d9e190 in git for libpolys/tests/cxxtestgen.pl
- Timestamp:
- Apr 21, 2011, 4:41:50 PM (13 years ago)
- Branches:
- (u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
- Children:
- 6d28ba7962ff547926c1a0ce553ff7070a77746e
- Parents:
- 4f07ef5931598da3a05c62cb735d25ecaac0c5a9
- git-author:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-04-21 16:41:50+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:27+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/tests/cxxtestgen.pl
r4f07ef rd9e190 536 536 sub writeMain() { 537 537 if ( $gui ) { 538 print "char* argv0;\n"; 538 539 print "int main( int argc, char *argv[] ) {\n"; 540 print "argv0 = argv[0];\n"; 539 541 $noStaticInit && 540 542 print " CxxTest::initialize();\n"; … … 543 545 } 544 546 elsif ( $runner ) { 545 print "int main() {\n"; 547 print "char* argv0;\n"; 548 print "int main( int argc, char *argv[] ) {\n"; 549 print "argv0 = argv[0];\n"; 546 550 $noStaticInit && 547 551 print " CxxTest::initialize();\n";
Note: See TracChangeset
for help on using the changeset viewer.