Changeset 8f26a44 in git
- Timestamp:
- Aug 5, 2013, 5:33:18 PM (11 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 60ff027fe2f1d52fb364602595ca246476a5d2dc
- Parents:
- ce9bfe4db5a16a3879122ddef6492a0b970949cb
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-08-05 17:33:18+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-08-12 12:19:32+02:00
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/test.cc
rce9bfe r8f26a44 236 236 int main( int, char *argv[] ) 237 237 { 238 // init path names etc. 238 assume( sizeof(long) == SIZEOF_LONG ); 239 240 if( sizeof(long) != SIZEOF_LONG ) 241 { 242 WerrorS("Bad config.h: wrong size of long!"); 243 244 return(1); 245 } 246 247 248 249 // init path names etc. 239 250 // feInitResources(argv[0]); //??? 240 251 siInit(argv[0]); // ? -
factory/test.cc
rce9bfe r8f26a44 1 1 #include <factory/factory.h> 2 2 #include <resources/feFopen.h> 3 #include "cf_assert.h" 3 4 4 5 int mmInit(void) { … … 101 102 { 102 103 int ret = 0; 103 104 105 ASSERT( sizeof(long) == SIZEOF_LONG, "Bad config.h: wrong size of long!" ); 106 107 if( sizeof(long) != SIZEOF_LONG ) 108 { 109 printf("Bad config.h: wrong size of long!"); 110 111 return(1); 112 } 113 104 114 feInitResources(argv[0]); 105 115 -
kernel/test.cc
rce9bfe r8f26a44 611 611 int main( int, char *argv[] ) 612 612 { 613 assume( sizeof(long) == SIZEOF_LONG ); 614 615 if( sizeof(long) != SIZEOF_LONG ) 616 { 617 WerrorS("Bad config.h: wrong size of long!"); 618 619 return(1); 620 } 621 622 613 623 feInitResources(argv[0]); 614 624 -
libpolys/coeffs/test.cc
rce9bfe r8f26a44 256 256 int main( int, char *argv[] ) 257 257 { 258 assume( sizeof(long) == SIZEOF_LONG ); 259 260 if( sizeof(long) != SIZEOF_LONG ) 261 { 262 WerrorS("Bad config.h: wrong size of long!"); 263 264 return(1); 265 } 266 267 258 268 feInitResources(argv[0]); 259 269 -
libpolys/tests/simple_test.h
rce9bfe r8f26a44 1 2 3 1 #ifdef HAVE_CONFIG_H 2 #include "config.h" 3 #endif /* HAVE_CONFIG_H */ 4 #include <misc/auxiliary.h> 4 5 5 6 class SimplestTestSuite : public CxxTest::TestSuite … … 11 12 TS_ASSERT_DELTA (fnum, 2.0f, 0.0001f); 12 13 } 14 15 void testSIZEOFLONG() 16 { 17 TS_ASSERT( sizeof(long) == SIZEOF_LONG ); // correct config.h? 18 } 19 13 20 }; 14 21
Note: See TracChangeset
for help on using the changeset viewer.