5 $runtests=shift(@ARGV);
6 if ( -f "t/testfunc.pl" ) {
7 require "t/testfunc.pl";
10 } elsif ( -f "testfunc.pl" ) {
11 require "testfunc.pl";
15 die "ERROR: cannot find testfunc.pl\n";
21 %type = ( "LOCALE_CODE_ALPHA_2" => LOCALE_CODE_ALPHA_2,
22 "LOCALE_CODE_ALPHA_3" => LOCALE_CODE_ALPHA_3,
23 "LOCALE_CODE_TERM" => LOCALE_CODE_TERM,
28 $test[1] = $type{$test[1]}
29 if (@test == 2 && $test[1] && exists $type{$test[1]});
30 return code2language(@test);
209 print "code2language...\n";
210 test_Func(\&test,$tests,$runtests);
215 # indent-tabs-mode: nil
216 # cperl-indent-level: 3
217 # cperl-continued-statement-offset: 2
218 # cperl-continued-brace-offset: 0
219 # cperl-brace-offset: 0
220 # cperl-brace-imaginary-offset: 0
221 # cperl-label-offset: -2