Revision 4e68be50
Von Moritz Bunkus vor fast 10 Jahren hinzugefügt
SL/Controller/JSTests.pm | ||
---|---|---|
6 | 6 |
|
7 | 7 |
use File::Find (); |
8 | 8 |
use File::Spec (); |
9 |
use List::UtilsBy qw(sort_by); |
|
9 | 10 |
|
10 | 11 |
use SL::System::Process; |
11 | 12 |
|
... | ... | |
42 | 43 |
|
43 | 44 |
File::Find::find($wanted, $exe_dir . '/js/t'); |
44 | 45 |
|
45 |
return \@scripts;
|
|
46 |
return [ sort_by { lc } @scripts ];
|
|
46 | 47 |
} |
47 | 48 |
|
48 | 49 |
sub init_scripts_to_run { |
Auch abrufbar als: Unified diff
JavaScript-Tests: Liste der Testdateien sortieren