c_o3.t 707 B

1234567891011121314151617181920212223242526272829
  1. #! /usr/bin/env perl
  2. # better use testc.sh -O3 for debugging
  3. # The recommended default for release applications but you might need to adjust -u and -U
  4. BEGIN {
  5. #unless (-d ".svn" or -d '.git') {
  6. # print "1..0 #SKIP Only if -d .svn|.git\n";
  7. # exit;
  8. #}
  9. if ($ENV{PERL_CORE}){
  10. chdir('t') if -d 't';
  11. @INC = ('.', '../lib');
  12. } else {
  13. unshift @INC, 't';
  14. }
  15. require 'test.pl'; # for run_perl()
  16. }
  17. use strict;
  18. my $DEBUGGING = ($Config{ccflags} =~ m/-DDEBUGGING/);
  19. my $ITHREADS = ($Config{useithreads});
  20. prepare_c_tests();
  21. my @todo = todo_tests_default("c_o3");
  22. my @skip = (
  23. # $DEBUGGING ? () : 29, # issue 78 if not DEBUGGING > 5.15
  24. );
  25. run_c_tests("C,-O3", \@todo, \@skip);