Lines Matching +full:fig +full:- +full:arch

32     unsigned size = endp - arg + 1;
35 result[size-1] = 0;
42 result[size-1] = 0;
52 - (NSString *)description {
61 - (__strong char *)radar {
65 - (bool) compileUnlessExists:(bool)skip {
116 - (bool) compileWithExpectedFailure {
184 - (bool) run {
187 return true; // skip 64-bit tests
249 - (void)setFilename:(__strong char *)name {
252 - (void)setCompilerPath:(__strong char *)name {
256 - (void)forMostThings:(NSMutableArray *)lines options:(int)options {
275 - (void)forAllThings:(NSMutableArray *)lines options:(int)options {
286 - (NSArray *)allLines {
300 - (void)addLibrary:(const char *)dashLSomething {
309 - (TestFileExe *)lineForOptions:(int)options { // nil if no can do
328 strcat(path, DoClang ? "clang++" : "g++-4.2");
331 strcat(path, DoClang ? "clang" : "gcc-4.2");
336 [pa addPointer:"-ObjC++"];
339 [pa addPointer:"-ObjC"];
342 [pa addPointer:"-g"];
343 if (options & DoDashO) [pa addPointer:"-O"];
344 else if (options & DoDashO2) [pa addPointer:"-O2"];
345 else if (options & DoDashOs) [pa addPointer:"-Os"];
347 [pa addPointer:"-std=c99"];
348 [pa addPointer:"-fblocks"];
350 [pa addPointer:"-arch"];
358 [pa addPointer:"-fobjc-gc-only"];
361 [pa addPointer:"-fobjc-gc"];
365 [pa addPointer:"-c"];
368 [pa addPointer:"-framework"];
372 [pa addPointer:"-o"];
380 case DoRR: strcat(path, "-rr"); break;
381 case DoGC: strcat(path, "-gconly"); break;
382 case DoGCRR: strcat(path, "-gcrr"); break;
383 case DoRRGC: strcat(path, "-rrgc"); break;
387 if (options & DoDashO) strcat(path, "-O");
388 else if (options & DoDashO2) strcat(path, "-O2");
389 else if (options & DoDashOs) strcat(path, "-Os");
390 if (wantsC99) strcat(path, "-C99");
391 strcat(path, DoClang ? "-clang" : "-gcc");
392 strcat(path, "-bin");
416 #define LOOKFOR "CON" "FIG"
426 - (void)parseLibraries:(const char *)line {
428 line = strstr(line, "-l");
433 if (strstr(endp, "-l")) {
445 if (strstr(line, "-C99")) {
450 if (strstr(line, "-l")) [item parseLibraries:line];
460 if (newline && ((newline-error) > 1)) {
471 if (newline && ((newline-error) > 1)) {
551 - (NSString *)description {
580 printf("Usage: %s [-fast] [-e] [-dyld librarypath] [gcc4.2dir] [-- | source1 ...]\n", whoami);
581 printf(" -fast don't recompile if binary younger than source\n");
582 printf(" -open only run tests that are thought to still be unresolved\n");
583 printf(" -clang use the clang and clang++ compilers\n");
584 printf(" -e compile all variations also with -Os, -O2, -O3\n");
585 …printf(" -dyld p override DYLD_LIBRARY_PATH and DYLD_FRAMEWORK_PATH to p when runni…
586 …printf(" <compilerpath> directory containing gcc-4.2 (or clang) that you wish to use to co…
587 printf(" -- assume stdin is a grep CON" "FIG across the test sources\n");
589 …printf("%s will compile and run individual test files under a variety of compilers, c, obj-c, c++,…
597 …printf("A line containing the string CON" "FIG within the source enables restrictions to the above…
599 printf("Following CON" "FIG the string\n");
604 printf(" -C99 restricts the C versions of the test to -fstd=c99 -fblocks\n");
605 printf(" -O adds the -O optimization level\n");
606 printf(" -O2 adds the -O2 optimization level\n");
607 printf(" -Os adds the -Os optimization level\n");
622 printf("running on %s-bit architecture\n", sizeof(long) == 4 ? "32" : "64");
632 if (!strcmp(argv[1], "-fast")) {
634 --argc;
637 else if (!strcmp(argv[1], "-dyld")) {
639 --argc;
643 --argc;
646 else if (!strcmp(argv[1], "-open")) {
648 --argc;
651 else if (!strcmp(argv[1], "-clang")) {
653 --argc;
656 else if (!strcmp(argv[1], "-e")) {
658 --argc;
661 else if (!strcmp(argv[1], "--")) {
663 --argc;
666 else if (!strcmp(argv[1], "-")) {
673 --argc;
691 --argc;
735 …printf("\n--- results ---\n\n%lu successes\n%lu unexpected compile failures\n%lu failure to fail t…
803 buffer[count-1] = 0; // zap newline